inspect

package
v0.0.100 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ByteSliceType = reflect.TypeOf([]byte(nil))

Functions

func MakeDefault

func MakeDefault(t reflect.Type, opts MakeDefaultOptions) interface{}

Types

type MakeDefaultOptions

type MakeDefaultOptions struct {
	DefaultValueProvider func(t reflect.Type) (val interface{}, ok bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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