util

package
v0.0.0-...-989978f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT, NIST-PD-fallback Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Optional

type Optional struct {
	Value    interface{}
	HasValue bool
}

Optional represents a variable with an optional value.

func (*Optional) Set

func (o *Optional) Set(val interface{})

Set sets an optional value.

func (*Optional) Unset

func (o *Optional) Unset()

Unset unsets an optional value.

Jump to

Keyboard shortcuts

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