1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Fix imports

Signed-off-by: Emily Casey <ecasey@pivotal.io>
This commit is contained in:
Emily Casey
2019-04-29 10:04:46 -04:00
parent 6f4b0a7c06
commit a3c1b5b757
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -10,11 +10,11 @@ package osxkeychain
import "C" import "C"
import ( import (
"errors" "errors"
"github.com/docker/docker-credential-helpers/registryurl"
"strconv" "strconv"
"unsafe" "unsafe"
"github.com/docker/docker-credential-helpers/credentials" "github.com/docker/docker-credential-helpers/credentials"
"github.com/docker/docker-credential-helpers/registryurl"
) )
// errCredentialsNotFound is the specific error message returned by OS X // errCredentialsNotFound is the specific error message returned by OS X
+2 -1
View File
@@ -2,8 +2,9 @@ package osxkeychain
import ( import (
"fmt" "fmt"
"github.com/docker/docker-credential-helpers/credentials"
"testing" "testing"
"github.com/docker/docker-credential-helpers/credentials"
) )
func TestOSXKeychainHelper(t *testing.T) { func TestOSXKeychainHelper(t *testing.T) {
+1 -1
View File
@@ -43,4 +43,4 @@ func TestHelperParseURL(t *testing.T) {
t.Errorf("Error: expected URL: %q, but got %q for URL: %q", te.expectedURL, u.String(), te.url) t.Errorf("Error: expected URL: %q, but got %q for URL: %q", te.expectedURL, u.String(), te.url)
} }
} }
} }
+1 -1
View File
@@ -3,8 +3,8 @@
package registryurl package registryurl
import ( import (
"strings"
url "net/url" url "net/url"
"strings"
) )
func GetHostname(u *url.URL) string { func GetHostname(u *url.URL) string {
+1 -1
View File
@@ -2,12 +2,12 @@ package wincred
import ( import (
"bytes" "bytes"
"github.com/docker/docker-credential-helpers/registryurl"
"net/url" "net/url"
"strings" "strings"
winc "github.com/danieljoos/wincred" winc "github.com/danieljoos/wincred"
"github.com/docker/docker-credential-helpers/credentials" "github.com/docker/docker-credential-helpers/credentials"
"github.com/docker/docker-credential-helpers/registryurl"
) )
// Wincred handles secrets using the Windows credential service. // Wincred handles secrets using the Windows credential service.