unsafe

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfaceFactory

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

func NewInterfaceFactory

func NewInterfaceFactory(t reflect.Type) InterfaceFactory

func (*InterfaceFactory) PtrToStructField

func (f *InterfaceFactory) PtrToStructField(any interface{}, field reflect.StructField) interface{}

takes interface{Struct, ptr=>struct}, returns interface{*FieldType, ptr=>&struct.field}

Jump to

Keyboard shortcuts

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