go/src/internal/reflectlite/export_test.go

// Field returns the i'th field of the struct v.
// It panics if v's Kind is not Struct or i is out of range.
func Field(v Value, i int) Value {}

func TField(typ Type, i int) Type {}

// Field returns the i'th struct field.
func StructFieldType(t *structType, i int) Type {}

// Zero returns a Value representing the zero value for the specified type.
// The result is different from the zero value of the Value struct,
// which represents no value at all.
// For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0.
// The returned value is neither addressable nor settable.
func Zero(typ Type) Value {}

// ToInterface returns v's current value as an interface{}.
// It is equivalent to:
//
//	var i interface{} = (v's underlying value)
//
// It panics if the Value was obtained by accessing
// unexported struct fields.
func ToInterface(v Value) (i any) {}

type EmbedWithUnexpMeth

func (EmbedWithUnexpMeth) f() {}

type pinUnexpMeth

var pinUnexpMethI

func FirstMethodNameBytes(t Type) *byte {}

type Buffer