Documentation ¶
Index ¶
- Variables
- func DebugJSON(v interface{}) string
- func LowercaseFirstLetter(original string) string
- func ParseGenericDeclaration(infoToFill *TdPackage, genDeclaration *ast.GenDecl, fileName string) error
- func ParseTdprotoFile(infoToFill *TdPackage, fileName string, fileAst *ast.File) error
- func SnakeCaseToLowerCamel(original string) string
- func ToSnakeCase(original string) string
- func UppercaseFirstLetter(original string) string
- type TdConstFields
- type TdEnum
- type TdMapType
- type TdPackage
- type TdProto
- type TdQuery
- type TdStruct
- type TdStructField
- type TdType
Constants ¶
This section is empty.
Variables ¶
View Source
var GolangPrimitiveTypes = map[string]string{
"string": "",
"int": "",
"int64": "",
"uint16": "",
"uint": "",
"bool": "",
"interface{}": "",
"ISODateTimeString": "",
"time.Time": "",
}
Functions ¶
func LowercaseFirstLetter ¶ added in v1.27.5
func ParseGenericDeclaration ¶ added in v1.27.5
func ParseTdprotoFile ¶ added in v1.27.5
func SnakeCaseToLowerCamel ¶ added in v1.27.5
func ToSnakeCase ¶ added in v1.27.5
func UppercaseFirstLetter ¶ added in v1.27.5
Types ¶
type TdConstFields ¶ added in v1.27.5
type TdPackage ¶ added in v1.38.0
type TdProto ¶ added in v1.38.0
func ParseTdproto ¶ added in v1.27.5
type TdStruct ¶ added in v1.27.5
type TdStruct struct { Name string Help string Fields []TdStructField ReadOnly bool AnonnymousFields []string FileName string }
func (TdStruct) GetAllJsonFields ¶ added in v1.32.0
func (tds TdStruct) GetAllJsonFields(tdInfo *TdPackage) []TdStructField
func (TdStruct) GetStructAnonymousStructs ¶ added in v1.27.5
func (TdStruct) IsEventParams ¶ added in v1.33.6
type TdStructField ¶ added in v1.27.5
Click to show internal directories.
Click to hide internal directories.