This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
Releases: xorcare/derefer
Releases · xorcare/derefer
v1.1.0 - Dereferencing a pointer with a default value
Package derefed allows dereferencing a pointer with a default value.
// Package derefed contains helper routines for simplifying the getting of
// optional fields of basic type. This allows you to get the value from the
// pointer even if it is nil, and if the pointer is nil it returns a value of
// second parameter.
package derefed