Skip to content

Commit a1a81b0

Browse files
author
Thomas Leonard
committed
Add required imports to example code in README.md
Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
1 parent 0d7e26e commit a1a81b0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ There are many networking solutions available to suit a broad range of use-cases
1515

1616

1717
```go
18+
import (
19+
"fmt"
20+
"log"
21+
22+
"github.com/docker/docker/pkg/reexec"
23+
"github.com/docker/libnetwork"
24+
"github.com/docker/libnetwork/config"
25+
"github.com/docker/libnetwork/netlabel"
26+
"github.com/docker/libnetwork/options"
27+
)
28+
1829
func main() {
1930
if reexec.Init() {
2031
return

0 commit comments

Comments
 (0)