@@ -40,13 +40,13 @@ func flags() flag.FlagSet {
40
40
flags := flag .NewFlagSet ("" , flag .ExitOnError )
41
41
flags .Bool (HTTPMethodFlag , true , "suggest the use of http.MethodXX" )
42
42
flags .Bool (HTTPStatusCodeFlag , true , "suggest the use of http.StatusXX" )
43
- flags .Bool (TimeWeekdayFlag , false , "suggest the use of time.Weekday" )
44
- flags .Bool (TimeMonthFlag , false , "suggest the use of time.Month" )
43
+ flags .Bool (TimeWeekdayFlag , false , "suggest the use of time.Weekday.String() " )
44
+ flags .Bool (TimeMonthFlag , false , "suggest the use of time.Month.String() " )
45
45
flags .Bool (TimeLayoutFlag , false , "suggest the use of time.Layout" )
46
- flags .Bool (CryptoHashFlag , false , "suggest the use of crypto.Hash" )
46
+ flags .Bool (CryptoHashFlag , false , "suggest the use of crypto.Hash.String() " )
47
47
flags .Bool (RPCDefaultPathFlag , false , "suggest the use of rpc.DefaultXXPath" )
48
48
flags .Bool (OSDevNullFlag , false , "suggest the use of os.DevNull" )
49
- flags .Bool (SQLIsolationLevelFlag , false , "suggest the use of sql.LevelXX" )
49
+ flags .Bool (SQLIsolationLevelFlag , false , "suggest the use of sql.LevelXX.String() " )
50
50
return * flags
51
51
}
52
52
0 commit comments