Merge pull request #1028 from vkd/fix-code-format

Fix code format (goimports)
This commit is contained in:
Robert Liebowitz 2019-12-30 11:14:15 -05:00 committed by GitHub
commit 31587d847f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1706,7 +1706,7 @@ func TestTimestamp_set(t *testing.T) {
} }
func TestTimestampFlagApply(t *testing.T) { func TestTimestampFlagApply(t *testing.T) {
expectedResult, _ := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z") expectedResult, _ := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
fl := TimestampFlag{Name: "time", Aliases: []string{"t"}, Layout: time.RFC3339} fl := TimestampFlag{Name: "time", Aliases: []string{"t"}, Layout: time.RFC3339}
set := flag.NewFlagSet("test", 0) set := flag.NewFlagSet("test", 0)
_ = fl.Apply(set) _ = fl.Apply(set)