optional

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: GPL-3.0 Imports: 0 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uint32

type Uint32 struct {
	Value   uint32
	IsEmpty bool
}

Uint32 is a simple structure for Uint32 values that can optionally be nil.

func NewEmptyUint32

func NewEmptyUint32() *Uint32

func NewOptionalUint32

func NewOptionalUint32(value uint32) *Uint32

NewOptionalUint32 returns an optional Uint32 structure.

Jump to

Keyboard shortcuts

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