add nolint
This commit is contained in:
parent
3d78e41e34
commit
f351698afa
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -23,7 +23,8 @@
|
||||
"nolint",
|
||||
"goconst",
|
||||
"TZUTC",
|
||||
"webserver"
|
||||
"webserver",
|
||||
"gocognit"
|
||||
],
|
||||
|
||||
"comment": {
|
||||
|
@ -171,7 +171,7 @@ func typeConversion(t, v string) (interface{}, error) {
|
||||
return nil, fmt.Errorf("Unable to identify type.")
|
||||
}
|
||||
|
||||
func (cfg *Config) parseFlags(cfgInfo []structInfo) error {
|
||||
func (cfg *Config) parseFlags(cfgInfo []structInfo) error { //nolint:gocognit
|
||||
for _, info := range cfgInfo {
|
||||
switch info.Type.String() {
|
||||
case "string":
|
||||
|
Loading…
x
Reference in New Issue
Block a user