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-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ errcheck is a program for checking for unchecked errors in go programs.
10
10
11
11
errcheck requires Go 1.12 or newer, and depends on the package go/packages from the golang.org/x/tools repository.
12
12
13
+
errcheck requires module support to be enabled, which is the default in Go 1.13 and later. If installing with Go 1.12 you will need to specify `GO111MODULE=on` if building within `$GOPATH`.
14
+
13
15
## Use
14
16
15
17
For basic usage, just give the package path of interest as the first argument:
@@ -20,7 +22,7 @@ To check all packages beneath the current directory:
20
22
21
23
errcheck ./...
22
24
23
-
Or check all packages in your $GOPATH and $GOROOT:
25
+
Or check all packages in your `$GOPATH` and `$GOROOT`:
0 commit comments