stretchr / goweb

A lightweight RESTful web framework for Go
632 stars 61 forks source link

goweb compilation fails on OS X 10.8 with latest go1.1.1 amd64 #36

Closed econoplas closed 11 years ago

econoplas commented 11 years ago

Trying to install latest goweb 7/8/2013 against latest commit 7310eb92cb95f60f2e9fba9c3c644143657fa001

Here is the compilation output:

troy$ go get github.com/stretchr/goweb

github.com/stretchr/goweb

github.com/stretchr/goweb/map.go:192: undefined: MatcherFunc github.com/stretchr/goweb/map.go:206: undefined: MatcherFuncs

Adding "handlers." before MatcherFunc on line 192 fixes the compilation problem at line 192, but adding "handlers." before MatcherFuncs on line 206 doesn't fix the problem there:

troy$ go get github.com/stretchr/goweb

github.com/stretchr/goweb

./map.go:206: undefined: handlers.MatcherFuncs

I have been able to build about 6 other packages with this latest version of go1.1.1, so I am pretty sure it is not a problem with my installation. If you want me to try to reproduce on Debian 7.1 I can give that a try once I get go installed on my new Debian VM.

econoplas commented 11 years ago

Confirmed that this fails on debian 7.1 with go1.1.1 for amd64. Just to be sure it wasn't a problem with my go installations.