utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolEnv

func GetBoolEnv(key string) bool

func GetEnv

func GetEnv(key string) string

func GetIntEnv

func GetIntEnv(key string) int

func IsBool

func IsBool(value interface{}) bool

func IsInt

func IsInt(value interface{}) bool

func IsString

func IsString(value interface{}) bool

func IsUint

func IsUint(value interface{}) bool

func LoadEnvs

func LoadEnvs(objPtr any)

LoadEnvs load envs to struct

func LookupEnv

func LookupEnv(key string) (string, bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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