typename

package
v0.19.13 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package typename produces fully-qualified Go type names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

func For[T any]() string

For returns the fully-qualified name of T.

func Get

func Get(t reflect.Type) string

Get returns the fully-qualified name of t.

func Of

func Of(v any) string

Of returns the fully-qualified name of v's type.

func OfStatic

func OfStatic(t types.Type) string

OfStatic returns the fully-qualified name of t.

func Unqualified

func Unqualified(name string) string

Unqualified returns the unqualified version of the given type name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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