logging, config file managment, writing library dir

This commit is contained in:
logan committed 2025-03-22 16:33:04 -05:00
1 parent 26c02b27ff
commit e3f47c602f
7 files changed
+201 -98

No files matched your search

+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)
}