Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Name string `yaml:"name"`
Path string `yaml:"path"`
// Relations is map of field name and api name
Relations map[string]string `yaml:"relations"`
// Form is `list` or `object`.
Form string `yaml:"form"`
// CustomFields is map of field name and custom field name
CustomFields map[string]string `yaml:"custom-fields"`
}
func (*API) SetDefaultValues ¶
func (api *API) SetDefaultValues()
type Info ¶
func (*Info) SetDefaultValues ¶
func (info *Info) SetDefaultValues()
Click to show internal directories.
Click to hide internal directories.