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.
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.