Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { domain.BaseEntity ProjectUID string `json:"projectUID" validate:"required,uuid4"` Name State `json:"name" validate:"required"` }
type Persistent ¶
type Persistent struct { domain.BasePersistent Entity }
Persistent actually is an entity which take responsibility to maintain state persistent
func NewPersistent ¶
func NewPersistent(entity Entity) Persistent
Click to show internal directories.
Click to hide internal directories.