mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-03 11:02:11 +08:00
add function comment
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"log"
|
||||
)
|
||||
|
||||
// PrettyPrint - print JSON with indentation
|
||||
func PrettyPrint(data any) {
|
||||
body, err := json.MarshalIndent(data, "", " ")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user