zero

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZeroValue

func ZeroValue[T any]() T

Returns the zero value of a given type.

func ZeroValuePtr

func ZeroValuePtr[T any]() *T

Returns a pointer to the zero value of a given type

Types

This section is empty.

Jump to

Keyboard shortcuts

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