flag

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, def ...bool) bool

func Duration

func Duration(key string, def ...time.Duration) time.Duration

func Float32

func Float32(key string, def ...float32) float32

func Float64

func Float64(key string, def ...float64) float64

func Has

func Has(key string) bool

func Int

func Int(key string, def ...int) int

func Int16

func Int16(key string, def ...int16) int16

func Int32

func Int32(key string, def ...int32) int32

func Int64

func Int64(key string, def ...int64) int64

func Int8

func Int8(key string, def ...int8) int8

func String

func String(key string, def ...string) string

func Uint

func Uint(key string, def ...uint) uint

func Uint16

func Uint16(key string, def ...uint16) uint16

func Uint32

func Uint32(key string, def ...uint32) uint32

func Uint64

func Uint64(key string, def ...uint64) uint64

func Uint8

func Uint8(key string, def ...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