confutil

package
v0.0.0-...-5085094 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigInt

func BigInt(sVal *string, def string) *big.Int

func BigIntOrNil

func BigIntOrNil(sVal *string) *big.Int

func Bool

func Bool(bVal *bool, def bool) bool

func ByteSize

func ByteSize(sVal *string, min int64, def string) int64

func DurationMin

func DurationMin(sVal *string, min time.Duration, def string) time.Duration

func DurationSeconds

func DurationSeconds(sVal *string, min time.Duration, def string) int64

func Float64Min

func Float64Min(iVal *float64, min float64, def float64) float64

func Int

func Int(iVal *int, def int) int

func Int64

func Int64(iVal *int64, def int64) int64

func Int64Min

func Int64Min(iVal *int64, min int64, def int64) int64

func IntMin

func IntMin(iVal *int, min int, def int) int

func P

func P[T any](v T) *T

func StringNotEmpty

func StringNotEmpty(sVal *string, def string) string

func StringOrEmpty

func StringOrEmpty(sVal *string, def string) string

func StringSlice

func StringSlice(sVal []string, def []string) []string

func UnixFileMode

func UnixFileMode(sVal *string, def string) fs.FileMode

Types

This section is empty.

Jump to

Keyboard shortcuts

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