![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v2.
package
Version:
v0.6.3
Opens a new window with list of versions in this module.
Published: Jun 8, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ptr contains some utility methods related to pointers.
NilOrEmpty returns true if s is nil or the empty string.
func NilOrZero[T number](v *T) bool
NilOrZero returns true if v is nil or 0.
Ref returns a reference to v.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.