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 = `` /* 2548-byte string literal not displayed */
Client .
var Constant = `` /* 711-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 = `` /* 1679-byte string literal not displayed */
FieldReadMap .
var FieldReadSet = `` /* 1032-byte string literal not displayed */
FieldReadSet .
var FieldReadStructLike = `` /* 297-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 = `` /* 2028-byte string literal not displayed */
FieldWriteMap .
var FieldWriteSet = `` /* 1935-byte string literal not displayed */
FieldWriteSet .
var FieldWriteStructLike = `` /* 265-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 HandleUnknownFields = `` /* 363-byte string literal not displayed */
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 = `` /* 2556-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 = `` /* 3479-byte string literal not displayed */
StructLikeRead .
var StructLikeReadField = `` /* 499-byte string literal not displayed */
StructLikeReadField .
var StructLikeWrite = `` /* 2040-byte string literal not displayed */
StructLikeWrite .
var StructLikeWriteField = `` /* 1122-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.