🎨 Clean code

This commit is contained in:
Daniel
2024-03-20 22:30:09 +08:00
parent 2d52dbfd1c
commit 34e46eee0b

View File

@@ -205,10 +205,6 @@ func (value *Value) IsEdited() bool {
return value.CreatedAt != value.UpdatedAt
}
func (value *Value) IsGenerated() bool {
return KeyTypeUpdated == value.Type || KeyTypeCreated == value.Type
}
func (value *Value) IsEmpty() bool {
switch value.Type {
case KeyTypeBlock: