Skip to content
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

Build fails: undefined: time.Until #167

Closed
shark0der opened this issue Mar 31, 2017 · 4 comments
Closed

Build fails: undefined: time.Until #167

shark0der opened this issue Mar 31, 2017 · 4 comments

Comments

@shark0der
Copy link

shark0der commented Mar 31, 2017

Fresh clone from github 28adbfe:

howsmyssl@host:~/go/src/github.com/jmhodges/howsmyssl$ go build
# github.com/jmhodges/howsmyssl/tls18
tls18/tls.go:105: undefined: time.Until

Not sure what can I do.

@shark0der
Copy link
Author

I was able to go back until 0fd73c0 and was able to build, therefore 5056cf3 is the commit which introduced the error.

@jmhodges
Copy link
Owner

time.Until was added in Go 1.8 which howsmyssl requires. (The README mentions that requirement)

@jmhodges
Copy link
Owner

Btw you can google up functions and methods that are mentioned in undefined errors and have pretty good luck at finding their godoc.

@shark0der
Copy link
Author

Thanks. Apparently I'm using go version go1.6.2 linux/amd64 which is shipped by default in ubuntu 16.04. I'll try my luck with a PPA.

Leaving this here for future reference: https://github.com/golang/go/wiki/Ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants