From 15225f2c4dcdf1bc748ebf74ca053c042c0718c5 Mon Sep 17 00:00:00 2001 From: Vladislav Vlastovskiy Date: Tue, 14 Feb 2017 18:45:42 +0300 Subject: [PATCH] Fix CS ``` > go vet config_flag_test.go config_flag_test.go:13: github.com/nsqio/go-nsq.ConfigFlag composite literal uses unkeyed fields ``` --- config_flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_flag.go b/config_flag.go index 037da188..3e71cabf 100644 --- a/config_flag.go +++ b/config_flag.go @@ -6,7 +6,7 @@ import ( // ConfigFlag wraps a Config and implements the flag.Value interface type ConfigFlag struct { - *Config + Config *Config } // Set takes a comma separated value and follows the rules in Config.Set