Remove blank line to fix docs for Route.Queries
The presence of a blank line was preventing the documentation from appearing in godoc.
This commit is contained in:
1
route.go
1
route.go
@@ -326,7 +326,6 @@ func (r *Route) PathPrefix(tpl string) *Route {
|
|||||||
// - {name} matches anything until the next slash.
|
// - {name} matches anything until the next slash.
|
||||||
//
|
//
|
||||||
// - {name:pattern} matches the given regexp pattern.
|
// - {name:pattern} matches the given regexp pattern.
|
||||||
|
|
||||||
func (r *Route) Queries(pairs ...string) *Route {
|
func (r *Route) Queries(pairs ...string) *Route {
|
||||||
length := len(pairs)
|
length := len(pairs)
|
||||||
if length%2 != 0 {
|
if length%2 != 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user