Browse Source

Remove blank line to fix docs for Route.Queries

The presence of a blank line was preventing the documentation from appearing in godoc.
pull/67/head
Peter Waller 12 years ago
parent
commit
8f1a419c38
  1. 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 {

Loading…
Cancel
Save