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

Go 1.5 #43

Open
mileusna opened this issue Sep 2, 2016 · 3 comments
Open

Go 1.5 #43

mileusna opened this issue Sep 2, 2016 · 3 comments

Comments

@mileusna
Copy link

mileusna commented Sep 2, 2016

I have a problem installing it on Go 1.5.x
I guess you should put some info if it isn't compatible with previous Go versions.

# go version
go version go1.5.1 linux/amd64
# go get github.com/husobee/vestigo
# github.com/husobee/vestigo
src/github.com/husobee/vestigo/common.go:15: undefined: http.MethodConnect
src/github.com/husobee/vestigo/common.go:16: undefined: http.MethodDelete
src/github.com/husobee/vestigo/common.go:17: undefined: http.MethodGet
src/github.com/husobee/vestigo/common.go:18: undefined: http.MethodHead
src/github.com/husobee/vestigo/common.go:19: undefined: http.MethodOptions
src/github.com/husobee/vestigo/common.go:20: undefined: http.MethodPatch
src/github.com/husobee/vestigo/common.go:21: undefined: http.MethodPost
src/github.com/husobee/vestigo/common.go:22: undefined: http.MethodPut
src/github.com/husobee/vestigo/common.go:23: undefined: http.MethodTrace
src/github.com/husobee/vestigo/resource.go:59: undefined: http.MethodGet
src/github.com/husobee/vestigo/resource.go:59: too many errors
@husobee
Copy link
Owner

husobee commented Sep 13, 2016

Will update tonight to support building with 1.5. Sorry about that.

@husobee
Copy link
Owner

husobee commented Sep 14, 2016

#44 should correct, let me know if this works for you and i will get it merged in.

@josephspurrier
Copy link
Contributor

josephspurrier commented Nov 25, 2016

If all tests pass, that works for me. You should update your travis to run tests on all these versions of Go.

go:
  - 1.0
  - 1.1
  - 1.2
  - 1.3
  - 1.4
  - 1.5
  - 1.6
  - 1.7
  - tip

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

3 participants