registry

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types = make(TypeRegistry, 0)

Functions

func RegisterType

func RegisterType(name string, typ reflect.Type)

func TypeByName

func TypeByName(name string) reflect.Type

func TypeInstanceByName

func TypeInstanceByName(name string) interface{}

func TypeNameByInstance

func TypeNameByInstance(instance interface{}) string

Types

type TypeRegistry

type TypeRegistry map[string]reflect.Type

Jump to

Keyboard shortcuts

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