Documentation
¶
Index ¶
- func UpdatedFieldsToSlice(fields UpdatedFields) ([]string, error)
- type UpdatedFields
- type UpdatedFieldsMap
- func (self UpdatedFieldsMap) AddField(key string) UpdatedFields
- func (self UpdatedFieldsMap) AddFields(fields ...string) UpdatedFields
- func (self UpdatedFieldsMap) ConcatNestedNames() UpdatedFields
- func (self UpdatedFieldsMap) FilterMaps(mapNames ...string) UpdatedFields
- func (self UpdatedFieldsMap) IsUpdated(key string) bool
- func (self UpdatedFieldsMap) RemoveFields(fields ...string) UpdatedFields
- func (self UpdatedFieldsMap) ToSlice() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdatedFieldsToSlice ¶
func UpdatedFieldsToSlice(fields UpdatedFields) ([]string, error)
Types ¶
type UpdatedFields ¶
type UpdatedFields interface {
boltz.FieldChecker
ToSlice() []string
AddField(field string) UpdatedFields
AddFields(fields ...string) UpdatedFields
RemoveFields(fields ...string) UpdatedFields
ConcatNestedNames() UpdatedFields
FilterMaps(mapNames ...string) UpdatedFields
}
func SliceToUpdatedFields ¶
func SliceToUpdatedFields(val []string) UpdatedFields
type UpdatedFieldsMap ¶
type UpdatedFieldsMap map[string]struct{}
func (UpdatedFieldsMap) AddField ¶
func (self UpdatedFieldsMap) AddField(key string) UpdatedFields
func (UpdatedFieldsMap) AddFields ¶
func (self UpdatedFieldsMap) AddFields(fields ...string) UpdatedFields
func (UpdatedFieldsMap) ConcatNestedNames ¶
func (self UpdatedFieldsMap) ConcatNestedNames() UpdatedFields
func (UpdatedFieldsMap) FilterMaps ¶
func (self UpdatedFieldsMap) FilterMaps(mapNames ...string) UpdatedFields
func (UpdatedFieldsMap) IsUpdated ¶
func (self UpdatedFieldsMap) IsUpdated(key string) bool
func (UpdatedFieldsMap) RemoveFields ¶
func (self UpdatedFieldsMap) RemoveFields(fields ...string) UpdatedFields
func (UpdatedFieldsMap) ToSlice ¶
func (self UpdatedFieldsMap) ToSlice() []string
Click to show internal directories.
Click to hide internal directories.