Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API dependencies
type Model ¶
type Model struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
Model type
type ModelMapper ¶
type ModelMapper struct { }
ModelMapper mapper
func (ModelMapper) List ¶
func (m ModelMapper) List(models []*card.Model) []interface{}
List mapping
func (ModelMapper) ModelToPayload ¶
func (ModelMapper) ModelToPayload(m interface{}) interface{}
ModelToPayload mapping
Click to show internal directories.
Click to hide internal directories.