internal

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReturnValue

func ReturnValue(sf StructField, varName string) string

ReturnValue builds a return value given a variable to wrap parts around.

Types

type StructField

type StructField struct {
	TagPath    string
	FieldPath  string
	CastPrefix string
	CastPost   string
}

StructField is used to pass data from the inner reflection analysis to the code generation.

Jump to

Keyboard shortcuts

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