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