Documentation
      ¶
    
    
  
    
  
    Index ¶
- func AggregateNameConst(s model.Struct) string
 - func GetAggregateName(s model.Struct) string
 - func GetModelName(s model.Struct) string
 - func GetPackageName(s model.Struct) string
 - func HasMethod(s model.Struct, methodName string) bool
 - func HasMethodAllAggregateUIDs(s model.Struct) bool
 - func HasMethodExists(s model.Struct) bool
 - func HasMethodFilterByEvent(s model.Struct) bool
 - func HasMethodFilterByMoment(s model.Struct) bool
 - func HasMethodFind(s model.Struct) bool
 - func HasMethodFindStates(s model.Struct) bool
 - func HasMethodGetAllAggregates(s model.Struct) bool
 - func HasMethodPurgeAll(s model.Struct) bool
 - func HasMethodPurgeOnEventType(s model.Struct) bool
 - func HasMethodPurgeOnEventUIDs(s model.Struct) bool
 - func IsRepository(s model.Struct) bool
 - func LowerAggregateName(s model.Struct) string
 - func LowerModelName(s model.Struct) string
 - func ModelPackageName(s model.Struct) string
 - func NewGenerator() generator.Generator
 - func UpperAggregateName(s model.Struct) string
 - func UpperModelName(s model.Struct) string
 - type Generator
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateNameConst ¶
func GetAggregateName ¶
func GetModelName ¶
func GetPackageName ¶
func HasMethodExists ¶
func HasMethodFilterByEvent ¶
func HasMethodFilterByMoment ¶
func HasMethodFind ¶
func HasMethodFindStates ¶
func HasMethodPurgeAll ¶
func IsRepository ¶
func LowerAggregateName ¶
func LowerModelName ¶
func ModelPackageName ¶
func NewGenerator ¶
func UpperAggregateName ¶
func UpperModelName ¶
Types ¶
type Generator ¶
type Generator struct {
}
    func (*Generator) Generate ¶
func (eg *Generator) Generate(inputDir string, parsedSource model.ParsedSources) error
func (*Generator) GetAnnotations ¶
func (eg *Generator) GetAnnotations() []annotation.AnnotationDescriptor
 Click to show internal directories. 
   Click to hide internal directories.