opt

package
v0.0.0-...-ec9f644 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

package opt provides optional types. It can be useful for optional configuration paramteters

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

func Int

func Int(i int) *int

func Int16

func Int16(i int16) *int16

func Int32

func Int32(i int32) *int32

func Int64

func Int64(i int64) *int64

func Int8

func Int8(i int8) *int8

func String

func String(str string) *string

func Time

func Time(t time.Time) *time.Time

func Uint

func Uint(i uint) *uint

func Uint16

func Uint16(i uint16) *uint16

func Uint32

func Uint32(i uint32) *uint32

func Uint64

func Uint64(i uint64) *uint64

func Uint8

func Uint8(i uint8) *uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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