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

resolver

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 6 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
}

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
)

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