diff options
author | Franck Cuny <fcuny@saymedia.com> | 2013-04-24 17:56:00 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@saymedia.com> | 2013-04-24 17:56:00 -0700 |
commit | b35308c5c9ff886304a3230bcfee20307da83745 (patch) | |
tree | da591f3a5b56011bdaf6c3d20c15d403bb05f690 /dispatcher.go | |
parent | Add a simple test for the dispatcher (diff) | |
download | path-router-b35308c5c9ff886304a3230bcfee20307da83745.tar.gz |
Still need to return something for go < 1.1
Diffstat (limited to 'dispatcher.go')
-rw-r--r-- | dispatcher.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dispatcher.go b/dispatcher.go index 54c607d..e5c8e13 100644 --- a/dispatcher.go +++ b/dispatcher.go @@ -60,6 +60,7 @@ func (self *Dispatcher) Match(request *http.Request) (*Match, error) { } else { return self.disambiguateMatches(request.URL.Path, matches) } + return nil, nil } func (self *Dispatcher) disambiguateMatches(path string, matches []*Match) (*Match, error) { |