templates

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 0 Imported by: 4

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

View Source
var Constant = `` /* 711-byte string literal not displayed */

Constant .

View Source
var Enum = `` /* 1500-byte string literal not displayed */

Enum .

View Source
var FieldDeepEqual = `` /* 316-byte string literal not displayed */

FieldDeepEqual .

View Source
var FieldDeepEqualBase = `` /* 780-byte string literal not displayed */

FieldDeepEqualBase .

View Source
var FieldDeepEqualContainer = `` /* 604-byte string literal not displayed */

FieldDeepEqualContainer .

View Source
var FieldDeepEqualStructLike = `` /* 145-byte string literal not displayed */

FieldDeepEqualStructLike .

View Source
var FieldGetOrSet = `` /* 1652-byte string literal not displayed */

FieldGetOrSet .

View Source
var FieldIsSet = `` /* 786-byte string literal not displayed */

FieldIsSet .

View Source
var FieldRead = `` /* 309-byte string literal not displayed */

FieldRead .

View Source
var FieldReadBaseType = `` /* 548-byte string literal not displayed */

FieldReadBaseType .

View Source
var FieldReadContainer = `` /* 278-byte string literal not displayed */

FieldReadContainer .

View Source
var FieldReadList = `` /* 580-byte string literal not displayed */

FieldReadList .

View Source
var FieldReadMap = `` /* 700-byte string literal not displayed */

FieldReadMap .

View Source
var FieldReadSet = `` /* 576-byte string literal not displayed */

FieldReadSet .

View Source
var FieldReadStructLike = `` /* 219-byte string literal not displayed */

FieldReadStructLike .

View Source
var FieldWrite = `` /* 314-byte string literal not displayed */

FieldWrite .

View Source
var FieldWriteBaseType = `` /* 394-byte string literal not displayed */

FieldWriteBaseType .

View Source
var FieldWriteContainer = `` /* 271-byte string literal not displayed */

FieldWriteContainer .

View Source
var FieldWriteList = `` /* 389-byte string literal not displayed */

FieldWriteList .

View Source
var FieldWriteMap = `` /* 496-byte string literal not displayed */

FieldWriteMap .

View Source
var FieldWriteSet = `` /* 1005-byte string literal not displayed */

FieldWriteSet .

View Source
var FieldWriteStructLike = `` /* 150-byte string literal not displayed */

FieldWriteStructLike .

View Source
var File = `` /* 623-byte string literal not displayed */

File .

View Source
var FunctionSignature = `` /* 281-byte string literal not displayed */

FunctionSignature .

View Source
var Imports = `
{{define "Imports"}}
	{{- range $path, $alias := .}}
	{{$alias }}"{{$path}}"
	{{- end}}
{{end}}
`

Imports .

View Source
var Processor = `` /* 4950-byte string literal not displayed */

Processor .

View Source
var Service = `` /* 2755-byte string literal not displayed */

Service .

View Source
var StructLike = `` /* 1786-byte string literal not displayed */

StructLike is the code template for struct, union, and exception.

View Source
var StructLikeDeepEqual = `` /* 352-byte string literal not displayed */

StructLikeDeepEqual .

View Source
var StructLikeDeepEqualField = `` /* 321-byte string literal not displayed */

StructLikeDeepEqualField .

View Source
var StructLikeDefault = `` /* 144-byte string literal not displayed */

StructLikeDefault is the code template for structure initialization.

View Source
var StructLikeRead = `` /* 3430-byte string literal not displayed */

StructLikeRead .

View Source
var StructLikeReadField = `` /* 328-byte string literal not displayed */

StructLikeReadField .

View Source
var StructLikeWrite = `` /* 1697-byte string literal not displayed */

StructLikeWrite .

View Source
var StructLikeWriteField = `` /* 943-byte string literal not displayed */

StructLikeWriteField .

View Source
var Typedef = `` /* 517-byte string literal not displayed */

Typedef .

Functions

func Templates

func Templates() []string

Templates returns all templates defined in this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL