Skip to content

Commit b98b052

Browse files
authored
Replace godoc with pkg (#874)
1 parent 4d8fe93 commit b98b052

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.doc/overview.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ at https://github.com/elastic/go-elasticsearch/tree/master/_examples.
4545
=== Resources
4646

4747
* https://github.com/elastic/go-elasticsearch[Source Code]
48-
* https://godoc.org/github.com/elastic/go-elasticsearch[API Documentation]
48+
* https://pkg.go.dev/github.com/elastic/go-elasticsearch[API Documentation]
4949
* https://github.com/elastic/go-elasticsearch/tree/master/_examples[Examples and Recipes]
5050

5151

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ or
77
**[sign-up](https://cloud.elastic.co/registration?elektra=en-ess-sign-up-page)**
88
**for a free trial of Elastic Cloud**.
99

10-
[![GoDoc](https://godoc.org/github.com/elastic/go-elasticsearch?status.svg)](https://pkg.go.dev/github.com/elastic/go-elasticsearch/v8)
10+
[![Go Reference](https://pkg.go.dev/github.com/elastic/go-elasticsearch?status.svg)](https://pkg.go.dev/github.com/elastic/go-elasticsearch/v8)
1111
[![Go Report Card](https://goreportcard.com/badge/github.com/elastic/go-elasticsearch)](https://goreportcard.com/report/github.com/elastic/go-elasticsearch)
1212
[![codecov.io](https://codecov.io/github/elastic/go-elasticsearch/coverage.svg?branch=main)](https://codecov.io/gh/elastic/go-elasticsearch?branch=main)
1313
[![Build](https://github.com/elastic/go-elasticsearch/workflows/Build/badge.svg)](https://github.com/elastic/go-elasticsearch/actions?query=branch%3Amain)

_examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and client helper methods for a more efficient encoding and decoding of the requ
1919

2020
## Fast HTTP
2121

22-
The [**`fasthttp`**](./fasthttp) directory contains a demonstration of replacing the default client transport with an HTTP client from the [`github.com/valyala/fasthttp`](https://godoc.org/github.com/valyala/fasthttp) package.
22+
The [**`fasthttp`**](./fasthttp) directory contains a demonstration of replacing the default client transport with an HTTP client from the [`github.com/valyala/fasthttp`](https://pkg.go.dev/github.com/valyala/fasthttp) package.
2323

2424
## Instrumentation
2525

_examples/fasthttp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Example: fasthttp
22

33
This example demonstrates how to replace the `net/http` transport in the client with an
4-
HTTP client from the [`github.com/valyala/fasthttp`](https://godoc.org/github.com/valyala/fasthttp) package.
4+
HTTP client from the [`github.com/valyala/fasthttp`](https://pkg.go.dev/github.com/valyala/fasthttp) package.
55

66
The [`fasthttp.Transport` type](./fasthttp.go) is a drop-in replacement for `elastictransport.Config.Transport`, converting
77
request and response object between `net/http` and `fasthttp`.

_examples/instrumentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how to instrument the Elasticsearch client.
44

55
### OpenCensus
66

7-
The [**`opencensus.go`**](./opencensus.go) example uses the [`ochttp.Transport`](https://godoc.org/go.opencensus.io/plugin/ochttp#example-Transport) wrapper to auto-instrument the client calls, and provides a simple exporter which prints information to the terminal.
7+
The [**`opencensus.go`**](./opencensus.go) example uses the [`ochttp.Transport`](https://pkg.go.dev/go.opencensus.io/plugin/ochttp#example-Transport) wrapper to auto-instrument the client calls, and provides a simple exporter which prints information to the terminal.
88

99
<a href="https://asciinema.org/a/KhyP3GuuHPJAZQAmrgmdwS7uf" target="_blank"><img src="https://asciinema.org/a/KhyP3GuuHPJAZQAmrgmdwS7uf.svg" width="750" /></a>
1010

esapi/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ It has a minor overhead compared to using a struct directly;
7373
refer to the esapi_benchmark_test.go suite for concrete numbers.
7474
7575
See the documentation for each API function or struct at
76-
https://godoc.org/github.com/elastic/go-elasticsearch,
76+
https://pkg.go.dev/github.com/elastic/go-elasticsearch,
7777
or locally by:
7878
7979
go doc github.com/elastic/go-elasticsearch/v8/esapi Index

internal/build/cmd/generate/commands/gentests/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ func (a Action) Params() map[string]interface{} {
415415

416416
// Condition returns the condition for the assertion.
417417
//
418-
// TODO: Evaulate https://godoc.org/github.com/google/go-cmp/cmp
418+
// TODO: Evaulate https://pkg.go.dev/github.com/google/go-cmp/cmp
419419
func (a Assertion) Condition() string {
420420
var (
421421
output string

0 commit comments

Comments
 (0)