typemapper

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeFromValue

func TypeFromValue[E any](v interface{}, m map[string]E) (E, error)

TypeFromValue returns a type value from v (being a string or string pointer) by using map m to determine it's enum value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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