@cryptotaxi247 / kubo / commits / 25e3e1974

go-ipfs-config: nit: omit empty plugin values

Let's try to slim down default configs a bit.

Steven Allen committed Aug 29, 2019 at 10:25 UTC 25e3e1974b849b2410cb1f5b2a24ad17f682d252
1 file changed +2 -2
config/plugins.go
+2 -2
@@ -6,6 +6,6 @@ type Plugins struct {
6 }
7
8 type Plugin struct {
9 - Disabled bool
10 - Config interface{}
9 + Disabled bool `json:",omitempty"`
10 + Config interface{} `json:",omitempty"`
11 }