🎨 Clean code

This commit is contained in:
Daniel 2024-03-20 22:30:09 +08:00
parent 2d52dbfd1c
commit 34e46eee0b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

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: