internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatType

func FormatType(a any) string

FormatType returns the string representation of the type of a. If a is nil, then "nil" is returned.

Parameters:

  • a: The value to get the type of.

Returns:

  • string: The string representation of the type of a.

func Zero

func Zero[T any]() T

Zero returns the zero value of the type T safely.

Returns:

  • T: The zero value of the type T.

Types

This section is empty.

Jump to

Keyboard shortcuts

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