davecheney / httpstat

It's like curl -v, with colours.
MIT License
6.95k stars 382 forks source link

error happened where build! #74

Closed leeyu closed 7 years ago

leeyu commented 7 years ago

main.go:357: undefined: http.MethodHead

$ go version go version go1.3.1 linux/amd64

davecheney commented 7 years ago

Which version of Go are you using. httpstat is tested against the current stable release, go 1.7.1 and tip.

On Tue, Sep 27, 2016 at 6:03 PM, leeyu notifications@github.com wrote:

main.go:357: undefined: http.MethodHead

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davecheney/httpstat/issues/74, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcAzOglwNrupjw54jnWACOP-RGA25Iks5quM3LgaJpZM4KHXWk .

davecheney commented 7 years ago

Oh, is see you are using 1.3.1. httpstat is only tested against 1.7. I'll close this issue with a PR that mentions the installation requirements.

joseluisq commented 7 years ago

👍