Versions in this module Expand all Collapse all v1 v1.0.1 Dec 4, 2023 Changes in this version + func Compare(a, b interface{}) int + func CompareNumber(a, b interface{}) int + func CompareString(a, b interface{}) int + func Default[V comparable](v V, de V) V + func GetExternalIP() string + func GetIntranetIP() string + func Getenv(key string, defaults ...string) string + func GetenvMap() map[string]string + func If(cond bool, val1, val2 interface{}) interface + func IsLinux() bool + func IsMac() bool + func IsWin() bool + func Len(s string) int + func Parse(obj interface{}, path string) interface + func Replace(s string, replace map[string]string) string + func Setenv(key, value string) error