You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ errcheck is a program for checking for unchecked errors in go programs.
8
8
9
9
go get -u github.com/kisielk/errcheck
10
10
11
-
errcheck requires Go 1.6 or newer and depends on the package go/loader from the golang.org/x/tools repository.
11
+
errcheck requires Go 1.9 or newer and depends on the package go/packages from the golang.org/x/tools repository.
12
12
13
13
## Use
14
14
@@ -94,12 +94,9 @@ no arguments.
94
94
95
95
## Cgo
96
96
97
-
Currently errcheck is unable to check packages that `import "C"` due to limitations
98
-
in the importer.
97
+
Currently errcheck is unable to check packages that import "C" due to limitations in the importer when used with versions earlier than Go 1.11.
99
98
100
-
However, you can use errcheck on packages that depend on those which use cgo. In
101
-
order for this to work you need to `go install` the cgo dependencies before running
102
-
errcheck on the dependent packages.
99
+
However, you can use errcheck on packages that depend on those which use cgo. In order for this to work you need to go install the cgo dependencies before running errcheck on the dependent packages.
103
100
104
101
See https://github.com/kisielk/errcheck/issues/16 for more details.
0 commit comments