helpergen

package
v0.0.0-...-e9beeda Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionDeclaration

type FunctionDeclaration struct {
	PkgPath   string
	FuncName  string
	Arguments string
	Outputs   string
	FuncBody  string
}

type HelperGenerator

type HelperGenerator struct {
	InlineFieldFilterFunc  fieldFilterFunc
	OutlineFieldFilterFunc fieldFilterFunc
	InputVarName           string
	OutputVarName          string
	// contains filtered or unexported fields
}

func (*HelperGenerator) ExpandersFromStruct

func (hg *HelperGenerator) ExpandersFromStruct(iface interface{}) map[string]string

func (*HelperGenerator) FlattenersFromStruct

func (hg *HelperGenerator) FlattenersFromStruct(iface interface{}) map[string]string

Jump to

Keyboard shortcuts

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