Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definitions ¶
type Definitions struct { Package string Path string PersistencePath string // contains filtered or unexported fields }
func (*Definitions) GetByID ¶
func (ds *Definitions) GetByID(id string) *ServiceDefinition
GetByID return the specified definition by its ID.
func (*Definitions) Register ¶
func (ds *Definitions) Register(a *ServiceDefinition)
Register is used to register a new definition into the service.
func (*Definitions) Slice ¶
func (ds *Definitions) Slice() []*ServiceDefinition
Slice return the definitions as a slice.
type ServiceDefinition ¶
type ServiceDefinition struct { Name string Aggregates []*libpersistence.AggregateDefinition }
Definition is used to declare the information of a model, so it can generate its code.
func (*ServiceDefinition) Title ¶
func (f *ServiceDefinition) Title() string
Click to show internal directories.
Click to hide internal directories.