Turn table and body strings to constants and move them to extension API (#262)

This commit is contained in:
M. Mert Yıldıran
2021-09-05 06:44:16 +03:00
committed by GitHub
parent 4e0ff74944
commit d4436d9f15
4 changed files with 52 additions and 45 deletions

View File

@@ -169,3 +169,8 @@ func (bed *BaseEntryDetails) UnmarshalData(entry *MizuEntry) error {
bed.IsOutgoing = entry.IsOutgoing
return nil
}
const (
TABLE string = "table"
BODY string = "body"
)