- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for badAt (0.1 sec)
-
src/cmd/go/testdata/script/mod_fs_patterns.txt
syntax error! -- x/y/z/z.go -- package z -- x/y/z/w/w.go -- package w -- @at/go.mod -- module at go 1.14 -- @at/at.go -- package at -- badat/go.mod -- module badat go 1.14 -- badat/bad@/bad.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 18:09:53 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go
return } if len(call.Args) > 0 { arg := call.Args[0] badAt := badFormatAt(pass.TypesInfo, arg) if badAt > -1 { // Check if it's a literal string, otherwise we can't suggest a fix. if _, ok := arg.(*ast.BasicLit); ok { pos := int(arg.Pos()) + badAt + 1 // +1 to skip the " or ` end := pos + len(badFormat) pass.Report(analysis.Diagnostic{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.3K bytes - Viewed (0)