Documentation
¶
Overview ¶
Code generated by ddd-domain-gen, DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Local = HolderType{"local"} Remote = HolderType{"remote"} )
Functions ¶
This section is empty.
Types ¶
type Holder ¶
type Holder struct {
// contains filtered or unexported fields
}
func UnmarshalFromRepository ¶
UnmarshalFromRepository unmarshals Holder from the repository so that non-constructable private fields can still be initialized from (private) repository state
Important: DO NEVER USE THIS METHOD EXCEPT FROM THE REPOSITORY Reason: This method initializes private state, so you could corrupt the domain.
type HolderType ¶
type HolderType struct {
// contains filtered or unexported fields
}
func (HolderType) String ¶
func (p HolderType) String() string
Click to show internal directories.
Click to hide internal directories.