Documentation
¶
Index ¶
- func EntityVersionConfigSliceToJSON(e []EntityVersionConfig) json.RawMessage
- func EntityVersionConfigToJSON(e EntityVersionConfig) json.RawMessage
- func GeneratorSliceToJSON(in []Generator) json.RawMessage
- func TypeSliceToJSON(in []Type) json.RawMessage
- type EntityVersionConfig
- func EntityVersionConfigFromJSON(data json.RawMessage) EntityVersionConfig
- func EntityVersionConfigSliceFromJSON(data json.RawMessage) []EntityVersionConfig
- func NewEntityVersionConfigSliceWithRandomValues(n int) []EntityVersionConfig
- func NewEntityVersionConfigWithRandomValues() EntityVersionConfig
- func (e EntityVersionConfig) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e EntityVersionConfig) EntityIdentifier() string
- func (e EntityVersionConfig) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e EntityVersionConfig) IsDependant() bool
- func (e EntityVersionConfig) OrderedFieldIdentifiers() []string
- func (e EntityVersionConfig) String() string
- func (e EntityVersionConfig) ToJSON() json.RawMessage
- type Generator
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntityVersionConfigSliceToJSON ¶
func EntityVersionConfigSliceToJSON(e []EntityVersionConfig) json.RawMessage
func EntityVersionConfigToJSON ¶
func EntityVersionConfigToJSON(e EntityVersionConfig) json.RawMessage
func GeneratorSliceToJSON ¶
func GeneratorSliceToJSON(in []Generator) json.RawMessage
func TypeSliceToJSON ¶
func TypeSliceToJSON(in []Type) json.RawMessage
Types ¶
type EntityVersionConfig ¶
type EntityVersionConfig struct {
Type Type `json:"type"`
Generator Generator `json:"generator"`
Config entity_version_type_config.EntityVersionTypeConfig `json:"config"`
}
func EntityVersionConfigFromJSON ¶
func EntityVersionConfigFromJSON(data json.RawMessage) EntityVersionConfig
func EntityVersionConfigSliceFromJSON ¶
func EntityVersionConfigSliceFromJSON(data json.RawMessage) []EntityVersionConfig
func NewEntityVersionConfigSliceWithRandomValues ¶
func NewEntityVersionConfigSliceWithRandomValues(n int) []EntityVersionConfig
func NewEntityVersionConfigWithRandomValues ¶
func NewEntityVersionConfigWithRandomValues() EntityVersionConfig
func (EntityVersionConfig) ArrayFieldIdentifierToType ¶
func (e EntityVersionConfig) ArrayFieldIdentifierToType() map[string]types.FieldType
func (EntityVersionConfig) EntityIdentifier ¶
func (e EntityVersionConfig) EntityIdentifier() string
func (EntityVersionConfig) FieldIdentfierToTypeMap ¶
func (e EntityVersionConfig) FieldIdentfierToTypeMap() map[string]types.FieldType
func (EntityVersionConfig) IsDependant ¶
func (e EntityVersionConfig) IsDependant() bool
func (EntityVersionConfig) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e EntityVersionConfig) OrderedFieldIdentifiers() []string
func (EntityVersionConfig) String ¶
func (e EntityVersionConfig) String() string
func (EntityVersionConfig) ToJSON ¶
func (e EntityVersionConfig) ToJSON() json.RawMessage
type Generator ¶
type Generator int64
func GeneratorFromString ¶
func JSONToGeneratorSlice ¶
func JSONToGeneratorSlice(in json.RawMessage) []Generator
type Type ¶
type Type int64
func JSONToTypeSlice ¶
func JSONToTypeSlice(in json.RawMessage) []Type
func TypeFromPointerString ¶
func TypeFromString ¶
Click to show internal directories.
Click to hide internal directories.