Documentation ¶
Index ¶
- Constants
- Variables
- func Error(err error, msg string, args ...interface{}) error
- func ExecTemplate(w io.Writer, tmpl string, vars interface{}) error
- func Fatal(err error, msg string, args ...interface{})
- func FlatMap(data map[string]any, notFlat container.HashSet) map[string]any
- func IsTTY(f *os.File) bool
- func JSONToMap(data []byte) (map[string]any, error)
- func MapToJSON(data map[string]any) ([]byte, error)
- func PrettyJSON(s any) error
- func PrintError(err error)
- func Stdoutf(format string, args ...interface{})
- func UnFlatMap(flat map[string]any) map[string]any
Constants ¶
View Source
const (
ObjFlattenDelimiter = "."
)
Variables ¶
View Source
var Service string = "tigris-server"
Service program name used in logging and monitoring.
View Source
var Version string
Version of this build.
Functions ¶
func PrettyJSON ¶
func PrintError ¶
func PrintError(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.