Documentation ¶
Index ¶
Constants ¶
View Source
const (
CountryAggregateType eventstore.AggregateType = "country"
)
View Source
const (
CountryCreateV1 = "V1_COUNTRY_CREATE"
)
Variables ¶
This section is empty.
Functions ¶
func GetCountryObjectID ¶
func NewCountryAggregateWithID ¶
func NewCountryAggregateWithID(id string) *countryAggregate
func NewCountryCreateEvent ¶
func NewCountryCreateEvent(aggregate eventstore.Aggregate, name, codeA2, codeA3, phoneCode string, createdAt time.Time) (eventstore.Event, error)
Types ¶
type CountryCreateEvent ¶
Click to show internal directories.
Click to hide internal directories.