internal

package
v0.0.0-...-c57d2d2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllParseFunc deprecated

func GetAllParseFunc() map[reflect.Type]parserFunc

Deprecated: This is a temporary function to aid migration. Use GetParseFunc instead.

func GetParseFunc

func GetParseFunc(typ reflect.Type) (f parserFunc, ptrDepth int, ok bool)

func RegisterEnvParser

func RegisterEnvParser[T any](parseFunc func(context.Context, string) (T, error))

Types

type UnmarshalFuncError

type UnmarshalFuncError struct {
	Type reflect.Type
	Err  error
}

func ErrUnmarshalFunc

func ErrUnmarshalFunc(typ reflect.Type, err error) *UnmarshalFuncError

func (*UnmarshalFuncError) Error

func (e *UnmarshalFuncError) Error() string

Jump to

Keyboard shortcuts

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