karlseguin / router

A fast standalone router for Go.
MIT License
19 stars 2 forks source link

Fix build error in Request.Param(): too many arguments to return #2

Closed andwun closed 9 years ago

andwun commented 9 years ago

Looks like a breaking change in github.com/karlseguin/params is causing a build error when doing a fresh go get.

router/request.go:14: too many arguments to return

This commit fixes it without changing the API.

karlseguin commented 9 years ago

Sorry about that. I also changed it to use those dependencies through gopkg.in and I tagged a release for router so that it can be imported as such also:

http://gopkg.in/karlseguin/router.v1

andwun commented 9 years ago

No problem here. Also didn't know about gopkg.in, yet. Thank you!