Documentation ¶
Index ¶
- type IndexField
- type IndexFieldStore
- type IndexFieldStoreWrap
- func (wrap *IndexFieldStoreWrap) GetFieldList() []*IndexField
- func (wrap *IndexFieldStoreWrap) GetFieldMap() map[string]*IndexField
- func (wrap *IndexFieldStoreWrap) GetStore() *IndexFieldStore
- func (wrap *IndexFieldStoreWrap) Init(fields ...*IndexField)
- func (wrap *IndexFieldStoreWrap) InitByStore(store *IndexFieldStore)
- func (wrap *IndexFieldStoreWrap) LoadFromList()
- func (wrap *IndexFieldStoreWrap) UpdateByInput(input map[string]interface{})
- func (wrap *IndexFieldStoreWrap) UpdateFieldValue(name string, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexField ¶
type IndexFieldStore ¶
type IndexFieldStore struct { IndexFieldValueList []*IndexField `json:"indexFieldValueList"` IndexFieldValueMap map[string]*IndexField `json:"indexFieldValueMap"` }
type IndexFieldStoreWrap ¶
type IndexFieldStoreWrap struct { // use mutex to modify value in future sync.RWMutex // contains filtered or unexported fields }
func NewIndexFieldWrap ¶
func NewIndexFieldWrap(fields ...*IndexField) *IndexFieldStoreWrap
func (*IndexFieldStoreWrap) GetFieldList ¶
func (wrap *IndexFieldStoreWrap) GetFieldList() []*IndexField
func (*IndexFieldStoreWrap) GetFieldMap ¶
func (wrap *IndexFieldStoreWrap) GetFieldMap() map[string]*IndexField
func (*IndexFieldStoreWrap) GetStore ¶
func (wrap *IndexFieldStoreWrap) GetStore() *IndexFieldStore
func (*IndexFieldStoreWrap) Init ¶
func (wrap *IndexFieldStoreWrap) Init(fields ...*IndexField)
func (*IndexFieldStoreWrap) InitByStore ¶
func (wrap *IndexFieldStoreWrap) InitByStore(store *IndexFieldStore)
func (*IndexFieldStoreWrap) LoadFromList ¶
func (wrap *IndexFieldStoreWrap) LoadFromList()
func (*IndexFieldStoreWrap) UpdateByInput ¶
func (wrap *IndexFieldStoreWrap) UpdateByInput(input map[string]interface{})
func (*IndexFieldStoreWrap) UpdateFieldValue ¶
func (wrap *IndexFieldStoreWrap) UpdateFieldValue(name string, value interface{})
Click to show internal directories.
Click to hide internal directories.