shared

package
v0.23.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() template.FuncMap

Types

type Constant

type Constant struct {
	Name    string
	Type    string
	Op      string
	Value   string
	String  string
	Comment string
}

Constant represent declared constants within proto.

type ConstantData

type ConstantData struct {
	PackageDoc    string
	Package       string
	Imports       []string
	AllowRegister bool
	Type          string
	Comment       string
	Base          string
	Constants     []Constant
	Invalid       Constant
}

ConstantData is data representation of constant definitions template. This map one to one with file that will be generated. 1 data == 1 proto.

Jump to

Keyboard shortcuts

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