commit eca3d9c1d7190ea13055a0c94d5dda526abc4439
parent 20f2910bfa1868f07d755b58d1de1d2a1f82f6db
Author: parazyd <parazyd@dyne.org>
Date: Mon, 29 Mar 2021 23:07:44 +0200
cmd/tor-dam: Use fmt rather than log to print JSON struct on the end.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/tor-dam/tor-dam.go b/cmd/tor-dam/tor-dam.go
@@ -209,5 +209,5 @@ func main() {
// Marshal the global Peers map to JSON and print it out.
j, _ := json.Marshal(tordam.Peers)
- log.Println(string(j))
+ fmt.Println(string(j))
}