Documentation ¶
Index ¶
- Variables
- func ArrayMap[T, U any](data []T, f func(T) U) []U
- func CheckError(err error)
- func CheckErrorWithMsg(err error, msg string)
- func Error(v any)
- func Fatal(v any)
- func Info(v any)
- func InitConfig(viperInstance *viper.Viper)
- func ReportStatus(configPath string)
- func SetNodeUrlIfEmpty(configItem string)
- func Warn(v any)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ViperInstance *viper.Viper
)
Functions ¶
func CheckError ¶
func CheckError(err error)
func CheckErrorWithMsg ¶
func InitConfig ¶
func ReportStatus ¶
func ReportStatus(configPath string)
func SetNodeUrlIfEmpty ¶
func SetNodeUrlIfEmpty(configItem string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.