correct godoc comments to include period

This commit is contained in:
elotreum 2020-01-16 19:43:50 -07:00
parent 77a52f9f30
commit 9e7323fa44

View file

@ -57,17 +57,17 @@ type QueryParams struct {
type routeParamsKey struct{} type routeParamsKey struct{}
// RouteParamsKey is a key for the context of a request that // RouteParamsKey is a key for the context of a request that
// contains the named parameters from the http router // contains the named parameters from the http router.
var RouteParamsKey = routeParamsKey{} var RouteParamsKey = routeParamsKey{}
// RouteParam is a type that contains the values from the named parameters // RouteParam is a type that contains the values from the named parameters
// on the route // on the route.
type RouteParam struct { type RouteParam struct {
Key string Key string
Value string Value string
} }
// RouteParams is a collection of RouteParam instances // RouteParams is a collection of RouteParam instances.
type RouteParams []RouteParam type RouteParams []RouteParam
// ParseURLData parses a request URL or UDP URLData as defined in BEP41. // ParseURLData parses a request URL or UDP URLData as defined in BEP41.