Documentation
¶
Index ¶
- Constants
- type Errors
- func (errors Errors) Add(attribute, message string)
- func (errors Errors) AddConnectorTypesError(connector string)
- func (errors Errors) AddSettingError(attribute, message string)
- func (errors Errors) Empty() bool
- func (errors Errors) Get(attribute string) []string
- func (errors Errors) GetConnectorTypesError(connector string) []string
- func (errors Errors) GetSettingError(attribute string) []string
- func (errors Errors) GetSettings() Errors
Constants ¶
View Source
const ( SETTINGS = "Settings" CONNECTOR_TYPES = "ConnectorTypes" ERROR_BLANK = "Can't be empty" ERROR_FORMAT = "Invalid format" ERROR_SLUG_FORMAT = "Invalid format: only lowercase alphanumeric characters and _" ERROR_ZERO = "Can't be zero" ERROR_UNIQUE = "Is already in use" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
type Errors map[string]interface{}
func (Errors) AddConnectorTypesError ¶
func (Errors) AddSettingError ¶
func (Errors) GetConnectorTypesError ¶
func (Errors) GetSettingError ¶
Click to show internal directories.
Click to hide internal directories.