Documentation ¶
Index ¶
- Constants
- type Field
- func (f Field) FieldName() string
- func (f Field) FieldNameCamelCase() string
- func (f Field) FieldNameCamelCaseUpper() string
- func (f Field) FieldNameHumanReadable() string
- func (f Field) FieldNameSnakeCase() string
- func (f Field) FieldNameSnakeCaseLower() string
- func (f Field) FieldNameVarName() string
- func (f Field) FieldType() string
- func (f Field) FieldValue() string
- func (f Field) Validate() error
- type Record
- type Role
- type User
- type UserRole
- type Userlog
Constants ¶
View Source
const IDFieldType = "id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Name string `yaml:"name"` Type string `yaml:"type"` Value string `yaml:"-"` Nullable bool `yaml:"nullable" default:"true"` }
func (Field) FieldNameCamelCase ¶
func (Field) FieldNameCamelCaseUpper ¶ added in v0.0.2
func (Field) FieldNameHumanReadable ¶
func (Field) FieldNameSnakeCase ¶ added in v0.0.2
func (Field) FieldNameSnakeCaseLower ¶ added in v0.0.3
func (Field) FieldNameVarName ¶ added in v0.0.2
func (Field) FieldValue ¶ added in v0.0.2
type User ¶
Click to show internal directories.
Click to hide internal directories.