Skip to content

Commit dadfd56

Browse files
committed
contrib/julienschmidt/httprouter: add godoc links
1 parent bec204b commit dadfd56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/julienschmidt/httprouter/httprouter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This product includes software developed at Datadog (https://www.datadoghq.com/).
44
// Copyright 2016 Datadog, Inc.
55

6-
// Package httprouter provides functions to trace the julienschmidt/httprouter package (https://github.com/julienschmidt/httprouter).
6+
// Package httprouter provides functions to trace the [github.com/julienschmidt/httprouter] package.
77
package httprouter // import "github.com/DataDog/dd-trace-go/contrib/julienschmidt/httprouter/v2"
88

99
import (
@@ -22,7 +22,7 @@ func init() {
2222
instr = instrumentation.Load(instrumentation.PackageJulienschmidtHTTPRouter)
2323
}
2424

25-
// Router is a traced version of httprouter.Router.
25+
// Router is a traced version of [httprouter.Router].
2626
type Router struct {
2727
*httprouter.Router
2828
config *tracing.Config
@@ -35,7 +35,7 @@ func New(opts ...RouterOption) *Router {
3535
return &Router{httprouter.New(), cfg}
3636
}
3737

38-
// ServeHTTP implements http.Handler.
38+
// ServeHTTP implements [http.Handler].
3939
func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
4040
tw, treq, afterHandle, handled := tracing.BeforeHandle(r.config, r.Router, wrapRouter, w, req)
4141
defer afterHandle()

0 commit comments

Comments
 (0)