Documentation
¶
Index ¶
- Constants
- func NewImportMap(packagePath string) *common.DirectImportMap
- type Builder
- type Builders
- type CastPath
- type ClassTemplate
- type Config
- type Constant
- type ConstantTemplate
- type DataquerySchema
- type DataqueryUnmarshalling
- type Deserializers
- type EnumTemplate
- type EnumValue
- type Gradle
- type JSONMarshaller
- type Language
- type OptionCall
- type PanelSchema
- type RawTypes
- type Registry
- type Runtime
- type Serializers
- type Unmarshalling
Constants ¶
View Source
const LanguageRef = "java"
Variables ¶
This section is empty.
Functions ¶
func NewImportMap ¶
func NewImportMap(packagePath string) *common.DirectImportMap
Types ¶
type Builder ¶
type Builder struct { Package string BuilderSignatureType string BuilderName string ObjectName string Imports fmt.Stringer ImportAlias string // alias to the pkg in which the object being built lives. Comments []string Constructor ast.Constructor Properties []ast.StructField Options []ast.Option Defaults []OptionCall IsGeneric bool }
type ClassTemplate ¶
type ClassTemplate struct { Package string Imports fmt.Stringer Name string Extends []string Comments []string Fields []ast.StructField Builders []Builder HasBuilder bool Variant string Identifier string Annotation string ToJSONFunction string ShouldAddSerializer bool ShouldAddDeserializer bool ShouldAddFactoryMethods bool }
type Config ¶
type Config struct { ProjectPath string `yaml:"-"` PackagePath string `yaml:"package_path"` SkipGradleDev bool `yaml:"skip_gradle_dev"` // BuilderTemplatesDirectories holds a list of directories containing templates // to be used to override parts of builders. BuilderTemplatesDirectories []string `yaml:"builder_templates"` // SkipRuntime disables runtime-related code generation when enabled. // Note: builders can NOT be generated with this flag turned on, as they // rely on the runtime to function. SkipRuntime bool `yaml:"skip_runtime"` // contains filtered or unexported fields }
func (*Config) InterpolateParameters ¶
type ConstantTemplate ¶
type DataquerySchema ¶
type DataqueryUnmarshalling ¶
type Deserializers ¶
type Deserializers struct {
// contains filtered or unexported fields
}
func (*Deserializers) JennyName ¶
func (jenny *Deserializers) JennyName() string
type EnumTemplate ¶
type JSONMarshaller ¶
type JSONMarshaller struct {
// contains filtered or unexported fields
}
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func (*Language) CompilerPasses ¶
func (*Language) NullableKinds ¶
func (language *Language) NullableKinds() languages.NullableConfig
type OptionCall ¶
type PanelSchema ¶
type RawTypes ¶
type RawTypes struct {
// contains filtered or unexported fields
}
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
type Serializers ¶
type Serializers struct {
// contains filtered or unexported fields
}
func (*Serializers) JennyName ¶
func (jenny *Serializers) JennyName() string
type Unmarshalling ¶
type Unmarshalling struct { Package string Name string ShouldUnmarshallingPanels bool Imports []string DataqueryUnmarshalling []DataqueryUnmarshalling Fields []ast.StructField Hint any }
Click to show internal directories.
Click to hide internal directories.