4 ms·
No, I meant the readability in .json file. Should I care for that anyway? Also, great website! :D
by muzzammildotxyz 8y ago
No, I meant the readability in .json file. Should I care for that anyway?
Also, great website! :D
- dewey 8y agoYou don’t have to worry about that and don’t have to manually format it.
- muzzammildotxyz 8y agohttps://golang.org/pkg/encoding/json/#MarshalIndent https://golang.org/pkg/encoding/json/#MarshalIndent :D
- muzzammildotxyz 8y agoPlease take a look at this: https://github.com/muhammadmuzzammil1998/Log-mailer/commit/fdf8467c4f8e7ea39b58dbd5aad9eff718c6dedb https://github.com/muhammadmuzzammil1998/Log-mailer/commit/f...
- Vendan 8y agohttps://golang.org/pkg/encoding/json/#MarshalIndent https://golang.org/pkg/encoding/json/#MarshalIndent if you want to "pretty print" the json output
- muzzammildotxyz 8y agoThat's great! :D Thanks!