Skip to content

Commit aa9d690

Browse files
author
Flavio Crisciani
authored
Merge pull request #2234 from talex5/example-imports
Add required imports to example code in README.md
2 parents 0d7e26e + a1a81b0 commit aa9d690

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)