repository

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateNameConst

func AggregateNameConst(s model.Struct) string

func GetAggregateName

func GetAggregateName(s model.Struct) string

func GetModelName

func GetModelName(s model.Struct) string

func GetPackageName

func GetPackageName(s model.Struct) string

func HasMethod

func HasMethod(s model.Struct, methodName string) bool

func HasMethodAllAggregateUIDs

func HasMethodAllAggregateUIDs(s model.Struct) bool

func HasMethodExists

func HasMethodExists(s model.Struct) bool

func HasMethodFilterByEvent

func HasMethodFilterByEvent(s model.Struct) bool

func HasMethodFilterByMoment

func HasMethodFilterByMoment(s model.Struct) bool

func HasMethodFind

func HasMethodFind(s model.Struct) bool

func HasMethodFindStates

func HasMethodFindStates(s model.Struct) bool

func HasMethodGetAllAggregates

func HasMethodGetAllAggregates(s model.Struct) bool

func HasMethodPurgeAll

func HasMethodPurgeAll(s model.Struct) bool

func HasMethodPurgeOnEventType

func HasMethodPurgeOnEventType(s model.Struct) bool

func HasMethodPurgeOnEventUIDs

func HasMethodPurgeOnEventUIDs(s model.Struct) bool

func IsRepository

func IsRepository(s model.Struct) bool

func LowerAggregateName

func LowerAggregateName(s model.Struct) string

func LowerModelName

func LowerModelName(s model.Struct) string

func ModelPackageName

func ModelPackageName(s model.Struct) string

func NewGenerator

func NewGenerator() generator.Generator

func UpperAggregateName

func UpperAggregateName(s model.Struct) string

func UpperModelName

func UpperModelName(s model.Struct) string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL