Skip to content

Commit 8c8888e

Browse files
committed
Test versions of Go > 1.7
1 parent 57a9ef0 commit 8c8888e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ sudo: false
33

44
matrix:
55
include:
6+
- go: "1.7"
7+
- go: "1.8"
68
- go: "1.9"
79
- go: "1.10"
810
- go: "tip"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ errcheck is a program for checking for unchecked errors in go programs.
88

99
go get -u github.com/kisielk/errcheck
1010

11-
errcheck requires Go 1.9 or newer and depends on the package go/packages from the golang.org/x/tools repository.
11+
errcheck requires Go 1.7 or newer and depends on the package go/packages from the golang.org/x/tools repository.
1212

1313
## Use
1414

@@ -94,7 +94,7 @@ no arguments.
9494

9595
## Cgo
9696

97-
Currently errcheck is unable to check packages that import "C" due to limitations 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.
9898

9999
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.
100100

errcheck

-6.03 MB
Binary file not shown.

0 commit comments

Comments
 (0)