-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix compile error of connCheck.go #1048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix compile error of connCheck.go #1048
Conversation
@@ -6,7 +6,8 @@ | |||
// License, v. 2.0. If a copy of the MPL was not distributed with this file, | |||
// You can obtain one at http://mozilla.org/MPL/2.0/. | |||
|
|||
// +build !windows,!appengine | |||
// +build linux darwin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
connCheck may work unix-like OSs (e.g. aix, dragonfly, freebsd, netbsd, openbsd, solaris), but I'm not sure.
can anyone check it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least it cross-compiles. I would add them there as well
I think we can drop the deprecated "appengine" build tag because we dropped Go 1.9 already. |
I see |
merged. thanks! |
* fix compile error of connCheck.go * remove "appengine" build tag
* fix compile error of connCheck.go * remove "appengine" build tag
Description
fix compile error of connCheck.go on plan9
ref. #1047 (comment)
Checklist