Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Releases: xorcare/derefer

v1.1.0 - Dereferencing a pointer with a default value

23 Jan 15:19
Compare
Choose a tag to compare

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

v1.0.0

04 Dec 11:45
Compare
Choose a tag to compare

Stable release ready for use in production.