Categorygithub.com/go-tk/optional
modulepackage
0.2.0
Repository: https://github.com/go-tk/optional.git
Documentation: pkg.go.dev

# README

optional

GoDev Workflow Status Coverage Status

Optional primitive types

# Packages

No description provided by the author

# Functions

MakeBool makes a new optional bool value set to the given value.
MakeByte makes a new optional byte value set to the given value.
MakeComplex128 makes a new optional complex128 value set to the given value.
MakeComplex64 makes a new optional complex64 value set to the given value.
MakeDuration makes a new optional time.Duration value set to the given value.
MakeFloat32 makes a new optional float32 value set to the given value.
MakeFloat64 makes a new optional float64 value set to the given value.
MakeInt makes a new optional int value set to the given value.
MakeInt16 makes a new optional int16 value set to the given value.
MakeInt32 makes a new optional int32 value set to the given value.
MakeInt64 makes a new optional int64 value set to the given value.
MakeInt8 makes a new optional int8 value set to the given value.
MakeRune makes a new optional rune value set to the given value.
MakeString makes a new optional string value set to the given value.
MakeUint makes a new optional uint value set to the given value.
MakeUint16 makes a new optional uint16 value set to the given value.
MakeUint32 makes a new optional uint32 value set to the given value.
MakeUint64 makes a new optional uint64 value set to the given value.
MakeUint8 makes a new optional uint8 value set to the given value.
MakeUintptr makes a new optional uintptr value set to the given value.

# Structs

Bool represents an optional bool value.
Byte represents an optional byte value.
Complex128 represents an optional complex128 value.
Complex64 represents an optional complex64 value.
Duration represents an optional time.Duration value.
Float32 represents an optional float32 value.
Float64 represents an optional float64 value.
Int represents an optional int value.
Int16 represents an optional int16 value.
Int32 represents an optional int32 value.
Int64 represents an optional int64 value.
Int8 represents an optional int8 value.
Rune represents an optional rune value.
String represents an optional string value.
Uint represents an optional uint value.
Uint16 represents an optional uint16 value.
Uint32 represents an optional uint32 value.
Uint64 represents an optional uint64 value.
Uint8 represents an optional uint8 value.
Uintptr represents an optional uintptr value.