diff --git a/README.md b/README.md index e9affec3..f6b61a5a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ make install ## Initialization -See tracer initialization examples in [godoc](https://godoc.org/github.com/uber/jaeger-client-go/config#pkg-examples) +See tracer initialization examples in [godoc](https://pkg.go.dev/github.com/uber/jaeger-client-go/config#pkg-examples) and [config/example_test.go](./config/example_test.go). ### Environment variables @@ -312,8 +312,8 @@ defer span.Finish() [Apache 2.0 License](LICENSE). -[doc-img]: https://godoc.org/github.com/uber/jaeger-client-go?status.svg -[doc]: https://godoc.org/github.com/uber/jaeger-client-go +[doc-img]: https://pkg.go.dev/badge/github.com/uber/jaeger-client-go.svg +[doc]: https://pkg.go.dev/github.com/uber/jaeger-client-go [ci-img]: https://travis-ci.org/jaegertracing/jaeger-client-go.svg?branch=master [ci]: https://travis-ci.org/jaegertracing/jaeger-client-go [cov-img]: https://codecov.io/gh/jaegertracing/jaeger-client-go/branch/master/graph/badge.svg diff --git a/thrift/header_context.go b/thrift/header_context.go index ac9bd488..ca255688 100644 --- a/thrift/header_context.go +++ b/thrift/header_context.go @@ -23,7 +23,7 @@ import ( "context" ) -// See https://godoc.org/context#WithValue on why do we need the unexported typedefs. +// See https://pkg.go.dev/context#WithValue on why do we need the unexported typedefs. type ( headerKey string headerKeyList int diff --git a/thrift/response_helper.go b/thrift/response_helper.go index d884c6ac..02f06139 100644 --- a/thrift/response_helper.go +++ b/thrift/response_helper.go @@ -23,7 +23,7 @@ import ( "context" ) -// See https://godoc.org/context#WithValue on why do we need the unexported typedefs. +// See https://pkg.go.dev/context#WithValue on why do we need the unexported typedefs. type responseHelperKey struct{} // TResponseHelper defines a object with a set of helper functions that can be diff --git a/zipkin/README.md b/zipkin/README.md index 6e51f10d..9587e1a3 100644 --- a/zipkin/README.md +++ b/zipkin/README.md @@ -40,7 +40,7 @@ func main() { } ``` -If you'd like to follow the official guides from https://godoc.org/github.com/uber/jaeger-client-go/config#example-Configuration-InitGlobalTracer-Production, here is an example. +If you'd like to follow the official guides from https://pkg.go.dev/github.com/uber/jaeger-client-go/config#example-Configuration-InitGlobalTracer-Production, here is an example. ```go import (