Skip to content

Commit

Permalink
Update Go sub-repo import paths, add canonical import comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
okdave committed Nov 13, 2014
1 parent db3aeb6 commit 17baadb
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

// Package cloud contains Google Cloud Platform APIs related types
// and common functions.
package cloud
package cloud // import "google.golang.org/cloud"

import (
"net/http"

"google.golang.org/cloud/internal"

"code.google.com/p/go.net/context"
pubsub "code.google.com/p/google-api-go-client/pubsub/v1beta1"
storage "code.google.com/p/google-api-go-client/storage/v1"
"golang.org/x/net/context"
)

// NewContext returns a new context that uses the provided http.Client.
Expand Down
4 changes: 2 additions & 2 deletions datastore/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package datastore
package datastore // import "google.golang.org/cloud/datastore"

import (
"bytes"
Expand All @@ -22,8 +22,8 @@ import (
"net/http"
"reflect"

"code.google.com/p/go.net/context"
"code.google.com/p/goprotobuf/proto"
"golang.org/x/net/context"
"google.golang.org/cloud/internal"
pb "google.golang.org/cloud/internal/datastore"
)
Expand Down
2 changes: 1 addition & 1 deletion datastore/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"strconv"
"strings"

"code.google.com/p/go.net/context"
"code.google.com/p/goprotobuf/proto"
"golang.org/x/net/context"
"google.golang.org/cloud/internal"
pb "google.golang.org/cloud/internal/datastore"
)
Expand Down
2 changes: 1 addition & 1 deletion datastore/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"reflect"
"strings"

"code.google.com/p/go.net/context"
"code.google.com/p/goprotobuf/proto"
"golang.org/x/net/context"
pb "google.golang.org/cloud/internal/datastore"
)

Expand Down
2 changes: 1 addition & 1 deletion datastore/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"errors"
"net/http"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"

pb "google.golang.org/cloud/internal/datastore"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub/cmdline/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strconv"
"time"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"

"github.com/golang/oauth2"
"github.com/golang/oauth2/google"
Expand Down
2 changes: 1 addition & 1 deletion examples/storage/appengine/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"net/http"
"strings"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"

"appengine"
"appengine/file"
Expand Down
2 changes: 1 addition & 1 deletion examples/storage/appenginevm/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"net/http"
"strings"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"

"github.com/golang/oauth2"
"github.com/golang/oauth2/google"
Expand Down
2 changes: 1 addition & 1 deletion internal/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"net/http"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)

// Key represents a context key. It shouldn't be used by the
Expand Down
2 changes: 1 addition & 1 deletion pubsub/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"testing"
"time"

"code.google.com/p/go.net/context"
"github.com/golang/oauth2/google"
"golang.org/x/net/context"
"google.golang.org/cloud"
)

Expand Down
4 changes: 2 additions & 2 deletions pubsub/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//
// More information about Google Cloud Pub/Sub is available on
// https://cloud.google.com/pubsub/docs
package pubsub
package pubsub // import "google.golang.org/cloud/pubsub"

import (
"encoding/base64"
Expand All @@ -28,9 +28,9 @@ import (

"google.golang.org/cloud/internal"

"code.google.com/p/go.net/context"
"code.google.com/p/google-api-go-client/googleapi"
raw "code.google.com/p/google-api-go-client/pubsub/v1beta1"
"golang.org/x/net/context"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion storage/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package storage
import (
"fmt"

"code.google.com/p/go.net/context"
raw "code.google.com/p/google-api-go-client/storage/v1"
"golang.org/x/net/context"
)

// ACLRole is the the access permission for the entity.
Expand Down
2 changes: 1 addition & 1 deletion storage/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/golang/oauth2/google"
"google.golang.org/cloud"

"code.google.com/p/go.net/context"
"golang.org/x/net/context"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

// Package storage is a Google Cloud Storage client.
package storage
package storage // import "google.golang.org/cloud/storage"

import (
"errors"
Expand All @@ -23,9 +23,9 @@ import (

"google.golang.org/cloud/internal"

"code.google.com/p/go.net/context"
"code.google.com/p/google-api-go-client/googleapi"
raw "code.google.com/p/google-api-go-client/storage/v1"
"golang.org/x/net/context"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion storage/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"io"
"time"

"code.google.com/p/go.net/context"
raw "code.google.com/p/google-api-go-client/storage/v1"
"golang.org/x/net/context"
)

// Owner represents the owner of a GCS object.
Expand Down

0 comments on commit 17baadb

Please sign in to comment.