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 = `` /* 2366-byte string literal not displayed */
Client .
var Constant = `` /* 711-byte string literal not displayed */
Constant .
var Enum = `` /* 1766-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 = `` /* 580-byte string literal not displayed */
FieldReadList .
var FieldReadMap = `` /* 700-byte string literal not displayed */
FieldReadMap .
var FieldReadSet = `` /* 576-byte string literal not displayed */
FieldReadSet .
var FieldReadStructLike = `` /* 219-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 = `` /* 389-byte string literal not displayed */
FieldWriteList .
var FieldWriteMap = `` /* 496-byte string literal not displayed */
FieldWriteMap .
var FieldWriteSet = `` /* 1036-byte string literal not displayed */
FieldWriteSet .
var FieldWriteStructLike = `` /* 150-byte string literal not displayed */
FieldWriteStructLike .
var File = `` /* 926-byte string literal not displayed */
File .
var FunctionSignature = `` /* 311-byte string literal not displayed */
FunctionSignature .
var Imports = `
{{define "Imports"}}
{{- range $path, $alias := .}}
{{$alias }}"{{$path}}"
{{- end}}
{{end}}
`
Imports .
var Processor = `` /* 5038-byte string literal not displayed */
Processor .
var Service = `` /* 586-byte string literal not displayed */
Service .
var StructLike = `` /* 2202-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 = `` /* 3465-byte string literal not displayed */
StructLikeRead .
var StructLikeReadField = `` /* 357-byte string literal not displayed */
StructLikeReadField .
var StructLikeWrite = `` /* 1732-byte string literal not displayed */
StructLikeWrite .
var StructLikeWriteField = `` /* 978-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.