stretchr / goweb

A lightweight RESTful web framework for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

econoplas opened this issue · comments

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

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.

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.