docs/reference: update links to Go documentation

Go documentation moved to the `go.dev` domain;

    curl -sI https://golang.org/doc/install/source#environment | grep 'location'
    location: https://go.dev/doc/install/source

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-08-25 14:10:40 +02:00
parent 1d3af726eb
commit dc4feccb89
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
13 changed files with 13 additions and 13 deletions

View File

@ -20,7 +20,7 @@ Inspects the specified config.
By default, this renders all results in a JSON array. If a format is specified, By default, this renders all results in a JSON array. If a format is specified,
the given template will be executed for each result. the given template will be executed for each result.
Go's [text/template](https://golang.org/pkg/text/template/) package Go's [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
For detailed information about using configs, refer to [store configuration data using Docker Configs](https://docs.docker.com/engine/swarm/configs/). For detailed information about using configs, refer to [store configuration data using Docker Configs](https://docs.docker.com/engine/swarm/configs/).

View File

@ -194,7 +194,7 @@ The currently supported filters are:
If a format (`--format`) is specified, the given template will be executed If a format (`--format`) is specified, the given template will be executed
instead of the default instead of the default
format. Go's [text/template](https://golang.org/pkg/text/template/) package format. Go's [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
If a format is set to `{{json .}}`, the events are streamed as valid JSON If a format is set to `{{json .}}`, the events are streamed as valid JSON

View File

@ -24,7 +24,7 @@ The number of images shown is the number of unique images. The same image tagged
under different names is counted only once. under different names is counted only once.
If a format is specified, the given template will be executed instead of the If a format is specified, the given template will be executed instead of the
default format. Go's [text/template](https://golang.org/pkg/text/template/) package default format. Go's [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
Depending on the storage driver in use, additional information can be shown, such Depending on the storage driver in use, additional information can be shown, such

View File

@ -24,7 +24,7 @@ By default, `docker inspect` will render results in a JSON array.
If a format is specified, the given template will be executed for each result. If a format is specified, the given template will be executed for each result.
Go's [text/template](https://golang.org/pkg/text/template/) package describes Go's [text/template](https://pkg.go.dev/text/template) package describes
all the details of the format. all the details of the format.
### <a name="type"></a> Specify target type (--type) ### <a name="type"></a> Specify target type (--type)

View File

@ -34,7 +34,7 @@ the container's `STDOUT` and `STDERR`.
Passing a negative number or a non-integer to `--tail` is invalid and the Passing a negative number or a non-integer to `--tail` is invalid and the
value is set to `all` in that case. value is set to `all` in that case.
The `docker logs --timestamps` command will add an [RFC3339Nano timestamp](https://golang.org/pkg/time/#pkg-constants) The `docker logs --timestamps` command will add an [RFC3339Nano timestamp](https://pkg.go.dev/time#RFC3339Nano)
, for example `2014-09-16T06:17:46.000000000Z`, to each , for example `2014-09-16T06:17:46.000000000Z`, to each
log entry. To ensure that the timestamps are aligned the log entry. To ensure that the timestamps are aligned the
nano-second part of the timestamp will be padded with zero when necessary. nano-second part of the timestamp will be padded with zero when necessary.

View File

@ -41,7 +41,7 @@ node are shown.
You can specify an alternate format to execute a given You can specify an alternate format to execute a given
template for each result. Go's template for each result. Go's
[text/template](https://golang.org/pkg/text/template/) package describes all the [text/template](https://pkg.go.dev/text/template) package describes all the
details of the format. details of the format.
```console ```console

View File

@ -18,7 +18,7 @@ Display detailed information on one or more nodes
Returns information about a node. By default, this command renders all results Returns information about a node. By default, this command renders all results
in a JSON array. You can specify an alternate format to execute a in a JSON array. You can specify an alternate format to execute a
given template for each result. Go's given template for each result. Go's
[text/template](https://golang.org/pkg/text/template/) package describes all the [text/template](https://pkg.go.dev/text/template) package describes all the
details of the format. details of the format.
> **Note** > **Note**

View File

@ -20,7 +20,7 @@ Inspects the specified secret.
By default, this renders all results in a JSON array. If a format is specified, By default, this renders all results in a JSON array. If a format is specified,
the given template will be executed for each result. the given template will be executed for each result.
Go's [text/template](https://golang.org/pkg/text/template/) package Go's [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/). For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).

View File

@ -1014,7 +1014,7 @@ registry value must be located in:
### Create services using templates ### Create services using templates
You can use templates for some flags of `service create`, using the syntax You can use templates for some flags of `service create`, using the syntax
provided by the Go's [text/template](https://golang.org/pkg/text/template/) package. provided by the Go's [text/template](https://pkg.go.dev/text/template) package.
The supported flags are the following : The supported flags are the following :

View File

@ -20,7 +20,7 @@ Inspects the specified service.
By default, this renders all results in a JSON array. If a format is specified, By default, this renders all results in a JSON array. If a format is specified,
the given template will be executed for each result. the given template will be executed for each result.
Go's [text/template](https://golang.org/pkg/text/template/) package Go's [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
> **Note** > **Note**

View File

@ -50,7 +50,7 @@ the service's `STDOUT` and `STDERR`.
Passing a negative number or a non-integer to `--tail` is invalid and the Passing a negative number or a non-integer to `--tail` is invalid and the
value is set to `all` in that case. value is set to `all` in that case.
The `docker service logs --timestamps` command will add an [RFC3339Nano timestamp](https://golang.org/pkg/time/#pkg-constants) The `docker service logs --timestamps` command will add an [RFC3339Nano timestamp](https://pkg.go.dev/time#RFC3339Nano)
, for example `2014-09-16T06:17:46.000000000Z`, to each , for example `2014-09-16T06:17:46.000000000Z`, to each
log entry. To ensure that the timestamps are aligned the log entry. To ensure that the timestamps are aligned the
nano-second part of the timestamp will be padded with zero when necessary. nano-second part of the timestamp will be padded with zero when necessary.

View File

@ -308,7 +308,7 @@ $ docker system events --filter 'type=plugin'
### <a name="format"></a> Format the output (--format) ### <a name="format"></a> Format the output (--format)
If a format (`--format`) is specified, the given template will be executed If a format (`--format`) is specified, the given template will be executed
instead of the default format. Go's [text/template](https://golang.org/pkg/text/template/) instead of the default format. Go's [text/template](https://pkg.go.dev/text/template)
package describes all the details of the format. package describes all the details of the format.
```console ```console

View File

@ -17,7 +17,7 @@ Display detailed information on one or more volumes
Returns information about a volume. By default, this command renders all results Returns information about a volume. By default, this command renders all results
in a JSON array. You can specify an alternate format to execute a in a JSON array. You can specify an alternate format to execute a
given template for each result. Go's given template for each result. Go's
[text/template](https://golang.org/pkg/text/template/) package describes all the [text/template](https://pkg.go.dev/text/template) package describes all the
details of the format. details of the format.
## Examples ## Examples