Run goimports/gofmt on previous changes

After all of the perl refactoring, some import orderings were left asunder.
This commit corrects that.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-02-10 18:18:45 -08:00
parent 6e4f9a2e3e
commit fac0f5412d
7 changed files with 7 additions and 7 deletions

View file

@ -12,8 +12,8 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/docker/distribution/registry/auth"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/registry/auth"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -11,8 +11,8 @@ import (
"os" "os"
"strings" "strings"
"github.com/docker/distribution/registry/auth"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/registry/auth"
"github.com/docker/libtrust" "github.com/docker/libtrust"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -9,9 +9,9 @@ import (
"regexp" "regexp"
"strconv" "strconv"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest" "github.com/docker/distribution/manifest"
"github.com/docker/distribution/registry/api/v2"
) )
// Client implements the client interface to the registry http api // Client implements the client interface to the registry http api

View file

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/registry/storage" "github.com/docker/distribution/registry/storage"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -5,10 +5,10 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest" "github.com/docker/distribution/manifest"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/registry/storage" "github.com/docker/distribution/registry/storage"
"github.com/gorilla/handlers" "github.com/gorilla/handlers"
) )

View file

@ -3,9 +3,9 @@ package handlers
import ( import (
"net/http" "net/http"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/registry/storage" "github.com/docker/distribution/registry/storage"
"github.com/gorilla/handlers" "github.com/gorilla/handlers"
) )

View file

@ -7,9 +7,9 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/registry/storage" "github.com/docker/distribution/registry/storage"
"github.com/gorilla/handlers" "github.com/gorilla/handlers"
) )