Documentation ¶
Index ¶
- Variables
- func FillDefaultObjectValues(objectDefinitions map[string]*ObjectDefinition, objectName string) string
- func FillDefaultObjectValuesGo(objectDefinitions map[string]*ObjectDefinition, objectName string) string
- func FillTypeWithDefaultValue(field *Field, isArrChecked bool, isWithFieldName bool) string
- func FillTypeWithDefaultValueGo(field *Field, isArrChecked bool, isWithFieldName bool) string
- func FillWithDefaultValueType(tp *TypeLink) string
- func FillWithDefaultValueTypeGo(tp *TypeLink) string
- type Ast
- type Chateau
- type Field
- type Method
- type MethodType
- type ObjectDefinition
- type Param
- type Return
- type Service
- type Tag
- type Type
- type TypeLink
Constants ¶
This section is empty.
Variables ¶
View Source
var AstTypeToDartType = map[Type]string{ Uint64: "int", Uint32: "int", Uint16: "int", Uint8: "int", Int64: "int", Int32: "int", Int16: "int", Int8: "int", Int: "int", Byte: "int", Bool: "bool", String: "String", }
Functions ¶
func FillDefaultObjectValues ¶ added in v0.5.0
func FillDefaultObjectValues(objectDefinitions map[string]*ObjectDefinition, objectName string) string
func FillDefaultObjectValuesGo ¶ added in v0.6.1
func FillDefaultObjectValuesGo(objectDefinitions map[string]*ObjectDefinition, objectName string) string
func FillTypeWithDefaultValue ¶ added in v0.5.0
func FillTypeWithDefaultValueGo ¶ added in v0.6.1
func FillWithDefaultValueType ¶ added in v0.5.0
func FillWithDefaultValueTypeGo ¶ added in v0.6.1
Types ¶
type Chateau ¶
type Chateau struct { PackageName string Services []*Service ObjectDefinitions []*ObjectDefinition ObjectDefinitionByObjectName map[string]*ObjectDefinition }
type Method ¶
type Method struct { Name string Hash hash.HandlerHash Params []*Param Returns []*Return MethodType MethodType Tags []Tag }
type MethodType ¶
type MethodType string
var ( Handler MethodType = "Handler" Stream MethodType = "Stream" )
type ObjectDefinition ¶
Click to show internal directories.
Click to hide internal directories.