templates

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 2 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 Client = `` /* 3459-byte string literal not displayed */

Client .

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

Constant .

View Source
var Enum = `` /* 2441-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 = `` /* 1300-byte string literal not displayed */

FieldReadList .

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

FieldReadMap .

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

FieldReadSet .

View Source
var FieldReadStructLike = `` /* 438-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 = `` /* 1263-byte string literal not displayed */

FieldWriteList .

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

FieldWriteMap .

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

FieldWriteSet .

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

FieldWriteStructLike .

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

File .

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

FunctionSignature .

View Source
var HandleUnknownFields = `` /* 363-byte string literal not displayed */
View Source
var Imports = `
{{define "Imports"}}
	{{- range $path, $alias := .}}
	{{$alias }}"{{$path}}"
	{{- end}}
{{end}}
`

Imports .

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

Processor .

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

Service .

View Source
var StructLike = `` /* 2934-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 = `` /* 3218-byte string literal not displayed */

StructLikeRead .

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

StructLikeReadField .

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

StructLikeWrite .

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

StructLikeWriteField .

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

Typedef .

Functions

func Alternative added in v0.2.0

func Alternative() map[string][]string

Alternative returns all alternative templates.

func Templates

func Templates() []string

Templates returns all templates defined in this package.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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