Documentation ¶
Overview ¶
Package templates defines templates for generating golang codes. Each global variable in this package defines a template.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Client = `` /* 3318-byte string literal not displayed */
Client .
var Constant = `` /* 727-byte string literal not displayed */
Constant .
var Enum = `` /* 1949-byte string literal not displayed */
Enum .
var FieldDeepEqual = `` /* 316-byte string literal not displayed */
FieldDeepEqual .
var FieldDeepEqualBase = `` /* 780-byte string literal not displayed */
FieldDeepEqualBase .
var FieldDeepEqualContainer = `` /* 604-byte string literal not displayed */
FieldDeepEqualContainer .
var FieldDeepEqualStructLike = `` /* 145-byte string literal not displayed */
FieldDeepEqualStructLike .
var FieldGetOrSet = `` /* 1652-byte string literal not displayed */
FieldGetOrSet .
var FieldIsSet = `` /* 786-byte string literal not displayed */
FieldIsSet .
var FieldRead = `` /* 309-byte string literal not displayed */
FieldRead .
var FieldReadBaseType = `` /* 548-byte string literal not displayed */
FieldReadBaseType .
var FieldReadContainer = `` /* 278-byte string literal not displayed */
FieldReadContainer .
var FieldReadList = `` /* 1036-byte string literal not displayed */
FieldReadList .
var FieldReadMap = `` /* 1816-byte string literal not displayed */
FieldReadMap .
var FieldReadSet = `` /* 1032-byte string literal not displayed */
FieldReadSet .
var FieldReadStructLike = `` /* 430-byte string literal not displayed */
FieldReadStructLike .
var FieldWrite = `` /* 314-byte string literal not displayed */
FieldWrite .
var FieldWriteBaseType = `` /* 394-byte string literal not displayed */
FieldWriteBaseType .
var FieldWriteContainer = `` /* 271-byte string literal not displayed */
FieldWriteContainer .
var FieldWriteList = `` /* 1263-byte string literal not displayed */
FieldWriteList .
var FieldWriteMap = `` /* 2063-byte string literal not displayed */
FieldWriteMap .
var FieldWriteSet = `` /* 1935-byte string literal not displayed */
FieldWriteSet .
var FieldWriteStructLike = `` /* 361-byte string literal not displayed */
FieldWriteStructLike .
var File = `` /* 1153-byte string literal not displayed */
File .
var FunctionSignature = `` /* 656-byte string literal not displayed */
FunctionSignature .
var HandleUnknownFields = `` /* 363-byte string literal not displayed */
var Imports = `
{{define "Imports"}}
{{- range $path, $alias := .}}
{{$alias }}"{{$path}}"
{{- end}}
{{end}}
`
Imports .
var Processor = `` /* 5481-byte string literal not displayed */
Processor .
var Service = `` /* 598-byte string literal not displayed */
Service .
var StructLike = `` /* 2960-byte string literal not displayed */
StructLike is the code template for struct, union, and exception.
var StructLikeDeepEqual = `` /* 352-byte string literal not displayed */
StructLikeDeepEqual .
var StructLikeDeepEqualField = `` /* 321-byte string literal not displayed */
StructLikeDeepEqualField .
var StructLikeDefault = `` /* 144-byte string literal not displayed */
StructLikeDefault is the code template for structure initialization.
var StructLikeRead = `` /* 3218-byte string literal not displayed */
StructLikeRead .
var StructLikeReadField = `` /* 683-byte string literal not displayed */
StructLikeReadField .
var StructLikeWrite = `` /* 1760-byte string literal not displayed */
StructLikeWrite .
var StructLikeWriteField = `` /* 1750-byte string literal not displayed */
StructLikeWriteField .
var Typedef = `` /* 538-byte string literal not displayed */
Typedef .
Functions ¶
func Alternative ¶ added in v0.2.0
Alternative returns all alternative templates.
Types ¶
This section is empty.