summaryrefslogtreecommitdiff
path: root/opts
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@docker.com>2018-02-05 16:05:59 -0500
committerDaniel Nephin <dnephin@docker.com>2018-02-05 16:51:57 -0500
commit4f0d95fa6ee7f865597c03b9e63702cdcb0f7067 (patch)
treec3b06dcf0c1495ce17c83f4313625e9e6ba14610 /opts
parent090c5bf25a53c8656cddfed275874030a6109ec0 (diff)
downloaddocker-4f0d95fa6ee7f865597c03b9e63702cdcb0f7067.tar.gz
Add canonical import comment
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'opts')
-rw-r--r--opts/env.go2
-rw-r--r--opts/env_test.go2
-rw-r--r--opts/hosts.go2
-rw-r--r--opts/hosts_test.go2
-rw-r--r--opts/hosts_unix.go2
-rw-r--r--opts/hosts_windows.go2
-rw-r--r--opts/ip.go2
-rw-r--r--opts/ip_test.go2
-rw-r--r--opts/opts.go2
-rw-r--r--opts/opts_test.go2
-rw-r--r--opts/opts_unix.go2
-rw-r--r--opts/opts_windows.go2
-rw-r--r--opts/quotedstring.go2
-rw-r--r--opts/quotedstring_test.go2
-rw-r--r--opts/runtime.go2
-rw-r--r--opts/ulimit.go2
-rw-r--r--opts/ulimit_test.go2
17 files changed, 17 insertions, 17 deletions
diff --git a/opts/env.go b/opts/env.go
index 4fbd470bcf..f6e5e9074d 100644
--- a/opts/env.go
+++ b/opts/env.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/env_test.go b/opts/env_test.go
index 454e989438..1ecf1e2b94 100644
--- a/opts/env_test.go
+++ b/opts/env_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/hosts.go b/opts/hosts.go
index f46b8ee711..2adf4211d5 100644
--- a/opts/hosts.go
+++ b/opts/hosts.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/hosts_test.go b/opts/hosts_test.go
index f3ae848bf6..cd8c3f91f2 100644
--- a/opts/hosts_test.go
+++ b/opts/hosts_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/hosts_unix.go b/opts/hosts_unix.go
index 611407a9d9..9d5bb64565 100644
--- a/opts/hosts_unix.go
+++ b/opts/hosts_unix.go
@@ -1,6 +1,6 @@
// +build !windows
-package opts
+package opts // import "github.com/docker/docker/opts"
import "fmt"
diff --git a/opts/hosts_windows.go b/opts/hosts_windows.go
index 684f0e128c..906eba53ee 100644
--- a/opts/hosts_windows.go
+++ b/opts/hosts_windows.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
// DefaultHost constant defines the default host string used by docker on Windows
var DefaultHost = "npipe://" + DefaultNamedPipe
diff --git a/opts/ip.go b/opts/ip.go
index 1095063977..cfbff3a9fd 100644
--- a/opts/ip.go
+++ b/opts/ip.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/ip_test.go b/opts/ip_test.go
index 1027d84a05..966d7f21ec 100644
--- a/opts/ip_test.go
+++ b/opts/ip_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"net"
diff --git a/opts/opts.go b/opts/opts.go
index a2cc5e33b1..bfdcb996b0 100644
--- a/opts/opts.go
+++ b/opts/opts.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/opts_test.go b/opts/opts_test.go
index 269f88639b..577395edcb 100644
--- a/opts/opts_test.go
+++ b/opts/opts_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/opts_unix.go b/opts/opts_unix.go
index 2766a43a08..0c32367cb2 100644
--- a/opts/opts_unix.go
+++ b/opts/opts_unix.go
@@ -1,6 +1,6 @@
// +build !windows
-package opts
+package opts // import "github.com/docker/docker/opts"
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
const DefaultHTTPHost = "localhost"
diff --git a/opts/opts_windows.go b/opts/opts_windows.go
index 98b7251a9e..0e1b6c6d18 100644
--- a/opts/opts_windows.go
+++ b/opts/opts_windows.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
// TODO Windows. Identify bug in GOLang 1.5.1+ and/or Windows Server 2016 TP5.
// @jhowardmsft, @swernli.
diff --git a/opts/quotedstring.go b/opts/quotedstring.go
index 09c68a5261..6c889070e8 100644
--- a/opts/quotedstring.go
+++ b/opts/quotedstring.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
// QuotedString is a string that may have extra quotes around the value. The
// quotes are stripped from the value.
diff --git a/opts/quotedstring_test.go b/opts/quotedstring_test.go
index 54dcbc19bc..e24257a5d4 100644
--- a/opts/quotedstring_test.go
+++ b/opts/quotedstring_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"testing"
diff --git a/opts/runtime.go b/opts/runtime.go
index 4361b3ce09..4b9babf0a5 100644
--- a/opts/runtime.go
+++ b/opts/runtime.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/ulimit.go b/opts/ulimit.go
index a2a65fcd21..0e2a36236c 100644
--- a/opts/ulimit.go
+++ b/opts/ulimit.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"fmt"
diff --git a/opts/ulimit_test.go b/opts/ulimit_test.go
index 0aa3facdfb..41e12627c8 100644
--- a/opts/ulimit_test.go
+++ b/opts/ulimit_test.go
@@ -1,4 +1,4 @@
-package opts
+package opts // import "github.com/docker/docker/opts"
import (
"testing"