structs

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Value reflect.Value
	Field reflect.StructField
}

type Ref

type Ref struct {
	Input interface{}
	Type  reflect.Type
	Value reflect.Value
}

func New

func New(input interface{}) *Ref

func (Ref) Copy

func (r Ref) Copy() Ref

func (Ref) Field

func (r Ref) Field(i int) *Field

func (Ref) FieldByName

func (r Ref) FieldByName(name string) *Field

func (Ref) Fields

func (r Ref) Fields() []*Field

func (Ref) FieldsByTag

func (r Ref) FieldsByTag(tag string) []*Field

func (Ref) Instance

func (r Ref) Instance() Ref

func (Ref) Pointer

func (r Ref) Pointer() interface{}

Jump to

Keyboard shortcuts

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