Versions in this module Expand all Collapse all v1 v1.7.0 Jan 18, 2023 Changes in this version + type BaseNexemaValueType struct + Kind string + Nullable bool + type EnumFieldTemplateData struct + Index int64 + LowerName string + Name string + type EnumTemplateData struct + Documentation []string + Fields []EnumFieldTemplateData + HasDocs bool + LowerTypeName string + TypeName string + type GeneratedFile struct + Content []byte + Path string + type Generator struct + func NewGenerator(cfg *PluginConfig) *Generator + func (g *Generator) Generate(input []byte) ([]*GeneratedFile, error) + type NexemaDefinition struct + Files []NexemaFile + Hashcode uint64 + Version int + type NexemaFile struct + Name string + Types []NexemaTypeDefinition + type NexemaPrimitiveValueType struct + Primitive string + TypeArguments []NexemaValueType + type NexemaTypeDefinition struct + Documentation []string + Fields []NexemaTypeFieldDefinition + Id string + Modifier string + Name string + type NexemaTypeFieldDefinition struct + DefaultValue any + Index int64 + Metadata map[string]any + Name string + Type NexemaValueType + func (n *NexemaTypeFieldDefinition) UnmarshalJSON(b []byte) error + type NexemaTypeValueType struct + ImportAlias *string + TypeId string + type NexemaValueType interface + type PluginConfig struct + ModuleName string + OutputPath string + type PluginOpts struct + EnforceBuilder bool + ModuleName string + type StructFieldTemplateData struct + FieldDef *NexemaTypeFieldDefinition + FieldName string + ImportTypeName string + Index int64 + IsNullable bool + LowerFieldName string + TypeId string + TypeName string + type StructTemplateData struct + Documentation []string + Fields []TypeFieldTemplateData + HasDocs bool + TypeName string + type TypeFieldTemplateData struct + DefaultValue interface{} + FieldIndex int64 + FieldName string + HasDefaultValue bool + IsFromUnion bool + LowerFieldName string + ValueType TypeFieldValueKindTemplate + type TypeFieldValueKindTemplate struct + ImportTypeName string + IsEnum bool + IsList bool + IsMap bool + IsNullable bool + IsNumeric bool + IsPrimitive bool + IsType bool + TypeArguments []TypeFieldValueKindTemplate + type UnionTemplateData struct + Documentation []string + Fields []TypeFieldTemplateData + HasDocs bool + LowerName string + TypeName string