Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewEntityOption ¶
func AddNewEntityOption(builder EntityOptionBuilder, params ...interface{})
AddNewEntityOption
Creates a new entity option and adds it to the given entityOptionList
Types ¶
type DoWithEntityFunc ¶
type DoWithEntityFunc func(EntityOptionBuilder, ...interface{})
type Entity ¶
Entity ...
func (Entity) BuildEntityOption ¶
func (e Entity) BuildEntityOption() dto.EntityOption
BuildEntityOption ...
type EntityFactory ¶
type EntityFactory interface {
Get(entityName string) (interface{}, error)
GetSlice(entityName string) (interface{}, error)
DoWithAll(entityList interface{}, entityFunc DoWithEntityFunc, params ...interface{})
}
type EntityHolder ¶
EntityHolder struct that holds entities
type EntityOptionBuilder ¶
type EntityOptionBuilder interface {
BuildEntityOption() dto.EntityOption
}
EntityOptionBuilder struct that can build entity options
Click to show internal directories.
Click to hide internal directories.