Documentation
¶
Index ¶
- func GetAppDir() string
- func LoadJsonFile(path string, out any) error
- func LoadYamlFile(path string, out any) error
- func LogDebug(format string, args ...any)
- func LogError(format string, args ...any)
- func LogInfo(format string, args ...any)
- func LogPanic(format string, args ...any)
- func LogWarn(format string, args ...any)
- func MarshalJson(val interface{}) ([]byte, error)
- func MarshalJsonString(val interface{}) (string, error)
- func MarshalPrettyJson(val interface{}) ([]byte, error)
- func SaveJsonFile(path string, out any) error
- func UnmarshalJson(buf []byte, val interface{}, path ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJsonFile ¶
func LoadYamlFile ¶
func MarshalJson ¶
func MarshalJsonString ¶
func MarshalPrettyJson ¶
func SaveJsonFile ¶
func UnmarshalJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.