logging, config file managment, writing library dir

This commit is contained in:
2025-03-22 16:33:04 -05:00
parent 26c02b27ff
commit e3f47c602f
7 changed files with 201 additions and 98 deletions
+11
View File
@@ -0,0 +1,11 @@
package logging
import (
"encoding/json"
)
// TODO check that error
func PrettyJSON(obj interface{}) string {
bytes, _ := json.MarshalIndent(obj, "\t", "\t")
return string(bytes)
}