goshuirc / bnc

a simple irc bouncer written in go
https://goshubnc.org/
MIT License
17 stars 3 forks source link

buntdb datastore should provide JSON key names for all fields #46

Open prawnsalad opened 7 years ago

prawnsalad commented 7 years ago

As it stands, only some of the fields have key names specified and they are all lower case. The other fields end up being capitalised in the JSON.

[{"Host":"irc.server.com","Port":6667,"use-tls":false,"verify-tls":false}]
DanielOaks commented 7 years ago

Huh, I thought the Go json lib automagically lowercased any keys that go through it, weird. I'm totally onboard with this, yeah