- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isTimeDotFormat (0.13 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go
(*ast.CallExpr)(nil), } inspect.Preorder(nodeFilter, func(n ast.Node) { call := n.(*ast.CallExpr) fn, ok := typeutil.Callee(pass.TypesInfo, call).(*types.Func) if !ok { return } if !isTimeDotFormat(fn) && !isTimeDotParse(fn) { return } if len(call.Args) > 0 { arg := call.Args[0] badAt := badFormatAt(pass.TypesInfo, arg) if badAt > -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.3K bytes - Viewed (0)