typemapper

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 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