utils

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(x int) int

func ParseBoolEnv

func ParseBoolEnv(env string, defval bool) bool

func ParseDurationEnv

func ParseDurationEnv(env string, defval time.Duration) time.Duration

func ParseIntEnv

func ParseIntEnv(env string, defval int) int

func ParseStringEnv

func ParseStringEnv(env, defval string) string

func ParseUInt64Env

func ParseUInt64Env(env string, defval uint64) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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