Help us shape the future of Go! Take the 2026 Go Developer Survey

resolver

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldMeta

type FieldMeta struct {
	Name   string
	Path   []Offset
	Opts   FieldOpts
	Type   reflect.Type
	IsZero func(reflect.Value) bool
}

func ResolveStruct

func ResolveStruct(vt reflect.Type) []FieldMeta

func (*FieldMeta) String

func (self *FieldMeta) String() string

type FieldOpts

type FieldOpts int
const (
	F_omitempty FieldOpts = 1 << iota
	F_stringize
	F_omitzero
)

type Offset

type Offset struct {
	Size uintptr
	Kind OffsetType
	Type reflect.Type
}

type OffsetType

type OffsetType int
const (
	F_offset OffsetType = iota
	F_deref
)

type StdField

type StdField struct {
	// contains filtered or unexported fields
}

type StdStructFields

type StdStructFields struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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