Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
compatible with old golang version
Browse files Browse the repository at this point in the history
  • Loading branch information
joyhope committed Apr 18, 2018
1 parent c4ed1cd commit 1931a4b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/version/version16.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// +build go1.6
// +build !go1.7,!go1.8
// +build !go1.7,!go1.8,!go1.9

package version

Expand Down
2 changes: 1 addition & 1 deletion internal/version/version17.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// +build go1.7
// +build !go1.8
// +build !go1.8,!go1.9

package version

Expand Down
1 change: 1 addition & 0 deletions internal/version/version18.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// +build go1.8
// +build !go1.9

package version

Expand Down
7 changes: 7 additions & 0 deletions internal/version/version19.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// +build go1.9,go1.10

package version

const (
Version = 1.9
)

1 comment on commit 1931a4b

@joyhope
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check with 1.10.1

Please sign in to comment.