Documentation ¶
Index ¶
- type Generator
- func (g *Generator) Add(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) All(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Any(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) At(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Collection(h *types.ModelMethodHelper, member *types.Member) *types.Method
- func (g *Generator) CollectionConstructor(h *types.ModelMethodHelper) Code
- func (g *Generator) Compact(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Constructor(h *types.ModelMethodHelper) Code
- func (g *Generator) Create(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) CreateForCollection(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Delete(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Each(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) EachIndex(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) EachIndexWithError(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) EachWithError(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Filter(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) FilterBy(h *types.ModelMethodHelper, members types.Members) *types.Method
- func (g *Generator) Find(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) First(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) FirstBy(h *types.ModelMethodHelper, members types.Members) *types.Method
- func (g *Generator) Generate(classes []*types.Class) error
- func (g *Generator) GroupBy(h *types.ModelMethodHelper, member *types.Member) *types.Method
- func (g *Generator) IsEmpty(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) IsIncluded(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Last(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Len(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Map(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Merge(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) MergeCollection(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Methods() []func(*types.ModelMethodHelper) *types.Method
- func (g *Generator) NewCollection(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Save(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) SaveForCollection(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) SetAlreadyCreated(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) SetConverter(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) SetSavedValue(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Some(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Sort(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) SortStable(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) Unique(h *types.ModelMethodHelper, member *types.Member) *types.Method
- func (g *Generator) Update(h *types.ModelMethodHelper) *types.Method
- func (g *Generator) UpdateForCollection(h *types.ModelMethodHelper) *types.Method
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) Collection ¶
func (*Generator) CollectionConstructor ¶
func (g *Generator) CollectionConstructor(h *types.ModelMethodHelper) Code
func (*Generator) Constructor ¶
func (g *Generator) Constructor(h *types.ModelMethodHelper) Code
func (*Generator) CreateForCollection ¶
func (g *Generator) CreateForCollection(h *types.ModelMethodHelper) *types.Method
func (*Generator) EachIndex ¶
func (g *Generator) EachIndex(h *types.ModelMethodHelper) *types.Method
func (*Generator) EachIndexWithError ¶
func (g *Generator) EachIndexWithError(h *types.ModelMethodHelper) *types.Method
func (*Generator) EachWithError ¶
func (g *Generator) EachWithError(h *types.ModelMethodHelper) *types.Method
func (*Generator) IsIncluded ¶
func (g *Generator) IsIncluded(h *types.ModelMethodHelper) *types.Method
func (*Generator) MergeCollection ¶
func (g *Generator) MergeCollection(h *types.ModelMethodHelper) *types.Method
func (*Generator) Methods ¶
func (g *Generator) Methods() []func(*types.ModelMethodHelper) *types.Method
func (*Generator) NewCollection ¶
func (g *Generator) NewCollection(h *types.ModelMethodHelper) *types.Method
func (*Generator) SaveForCollection ¶
func (g *Generator) SaveForCollection(h *types.ModelMethodHelper) *types.Method
func (*Generator) SetAlreadyCreated ¶
func (g *Generator) SetAlreadyCreated(h *types.ModelMethodHelper) *types.Method
func (*Generator) SetConverter ¶
func (g *Generator) SetConverter(h *types.ModelMethodHelper) *types.Method
func (*Generator) SetSavedValue ¶
func (g *Generator) SetSavedValue(h *types.ModelMethodHelper) *types.Method
func (*Generator) SortStable ¶
func (g *Generator) SortStable(h *types.ModelMethodHelper) *types.Method
func (*Generator) UpdateForCollection ¶
func (g *Generator) UpdateForCollection(h *types.ModelMethodHelper) *types.Method
Click to show internal directories.
Click to hide internal directories.