mirror of https://github.com/docker/docs.git
Update index.md (#9078)
"io" needs to be imported, in order to avoid " undefined: io" error. (go version: go1.12.5 linux/amd64) P.S: import statements are reordered/formatted (gofmt). Cheers
This commit is contained in:
parent
629a147a65
commit
7ca2ef679e
|
@ -180,13 +180,14 @@ Docker API directly, or using the Python or Go SDK.
|
|||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"context"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/pkg/stdcopy"
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/docker/docker/pkg/stdcopy"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in New Issue