reflectutil

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(obj any, fields []common.Pair[string, []byte]) error

func FromBytes

func FromBytes(t reflect.Type, b []byte) (reflect.Value, error)

func Locate

func Locate(obj any) (string, string)

returns pkg dir (relative to project dir) and virable name

func Scan

func Scan(obj any) ([]common.Pair[string, []byte], error)

func ToBytes

func ToBytes(value reflect.Value) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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