templates

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 1 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 = `` /* 3350-byte string literal not displayed */

Client .

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

Constant .

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

FieldReadList .

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

FieldReadMap .

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

FieldReadSet .

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

File .

View Source
var FunctionSignature = `` /* 652-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 = `` /* 5481-byte string literal not displayed */

Processor .

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

Service .

View Source
var StructLike = `` /* 2960-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 = `` /* 683-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