templates

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Options = `` /* 1120-byte string literal not displayed */
View Source
const Struct = `` /* 447-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Qualify     bool
	Export      bool
	Package     string
	ServiceName string
	FuncDefs    []*FuncDef
	UnnamedSig  bool
	Underlying  map[string]string
}

func (*Data) ToFuncDef

func (td *Data) ToFuncDef(field *ast.Field) *FuncDef

type FuncDef

type FuncDef struct {
	ServiceName  string
	Name         string
	Signature    string
	Return       string
	Args         string
	ReturnValues string
}

func (FuncDef) String

func (fd FuncDef) String() string

type ParamName

type ParamName struct {
	IsVararg bool
	// contains filtered or unexported fields
}

func (ParamName) Expand

func (pn ParamName) Expand() string

Jump to

Keyboard shortcuts

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