Documentation ¶
Overview ¶
Package schematype provides custom types for ent/schema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryConfig ¶
type CategoryConfig struct {
MaxMembers int `json:"maxMembers,omitempty"`
}
CategoryConfig implements the field.ValueScanner interface.
func (*CategoryConfig) Scan ¶
func (t *CategoryConfig) Scan(v interface{}) (err error)
type CategoryTypes ¶ added in v0.5.0
type CategoryTypes struct {
Public bool `json:"public,omitempty"`
}
CategoryTypes is a simple JSON type.
Click to show internal directories.
Click to hide internal directories.