Commit Graph
2 Commits
Author SHA1 Message Date
Dmitry Kutakov 8c28ae347a refactor flag names - make it more explicitly
avoid the using 'reflect' package while getting flag names
2019-12-29 08:58:12 +01:00
Dmitry Kutakov 62597fe929 simplify code - eliminate type assertions
"gosimple" linter says:
S1034: assigning the result of this type assertion to a variable (switch f := f.(type)) could eliminate the following type assertions:
	flag.go:267:26
	flag.go:270:28
	flag.go:273:30
	flag.go:276:29
2019-12-26 14:05:50 +01:00