Package optional provides versions of primitive types that can be
nil
. These are useful in methods that update some of an API object's fields.
Note: optional
is a non-internal fork of the optional
package in googleapis/google-cloud-go, which is itself a mirror of https://code.googlesource.com/gocloud.
go get github.com/lukasschwab/optional
import "github.com/lukasschwab/optional"
See, e.g., met
.