mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add required imports to example code in README.md
Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
This commit is contained in:
parent
8698ad1af1
commit
e88eed1d65
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,17 @@ There are many networking solutions available to suit a broad range of use-cases
|
||||||
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"log"
|
||||||
|
|
||||||
|
"github.com/docker/docker/pkg/reexec"
|
||||||
|
"github.com/docker/libnetwork"
|
||||||
|
"github.com/docker/libnetwork/config"
|
||||||
|
"github.com/docker/libnetwork/netlabel"
|
||||||
|
"github.com/docker/libnetwork/options"
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if reexec.Init() {
|
if reexec.Init() {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue