params

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrValueMustBePointer = errors.New("value must be a pointer to a struct")

Functions

func GetParamName

func GetParamName(field reflect.StructField) (string, bool)

func Marshal

func Marshal(v any) (map[string]string, error)

func Unmarshal

func Unmarshal(params map[string]string, v any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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