mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
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:
committed by
Usha Mandya
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() {
|
||||
|
||||
Reference in New Issue
Block a user