aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-31 12:16:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-31 12:16:54 +0200
commitf5d67fbd9c633bd2e0e815ada0a8dea352ea42d4 (patch)
treef38c9fb5ab5c6f2b0b003ee20fe13bed7ea41900 /pkg/config
parentb8bd991ee2f77d225913d41c57b9a420b4559900 (diff)
.gometalinter.json: enable gofmt
The part that we want from gofmt is simplify (-s). Fix all code that needs fixing. Update #538
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go
index 6d3ce034e..c8cd3e6ed 100644
--- a/pkg/config/config_test.go
+++ b/pkg/config/config_test.go
@@ -116,11 +116,11 @@ func TestLoad(t *testing.T) {
Config{
Foo: 1,
Arr: []Nested{
- Nested{
+ {
Aaa: 12,
Bbb: "bbb",
},
- Nested{
+ {
Aaa: 13,
Bbb: "ccc",
},