maps

package
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromMap

func FromMap[T any](m map[string]string, o *T) (err error)

FromMap deserialises a flatten map into a struct using (mapstructure)[https://github.com/go-viper/mapstructure]

func ToMap

func ToMap[T any](o *T) (m map[string]string, err error)

ToMap converts a struct to a flat map using (mapstructure)[https://github.com/go-viper/mapstructure]

Types

This section is empty.

Jump to

Keyboard shortcuts

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