gvalue

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Zero

func Zero[T any]() (v T)

Zero returns zero value of type.

The zero value is:

  • 0 for numeric types,
  • false for the boolean type
  • "" (the empty string) for strings
  • nil for reference/pointer type

Types

This section is empty.

Jump to

Keyboard shortcuts

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