diff options
author | Chris Broadfoot <cbro@golang.org> | 2016-02-01 16:04:41 -0800 |
---|---|---|
committer | Chris Broadfoot <cbro@golang.org> | 2016-02-02 00:10:45 +0000 |
commit | 669e5ee757fe572d557eac0d89e0107c8d4ae1a4 (patch) | |
tree | 0711c17830955d02ba40ac3f99502dbddb3a7d12 /content | |
parent | 257114af91a0defb1fc2c16c7f4ae2429b8a4e0f (diff) |
content: update references to code.google.com packages
Fixes golang/go#14182
Change-Id: Idaf4ef5a38b07fd100c7f869c07e680d148495b6
Reviewed-on: https://go-review.googlesource.com/19089
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'content')
-rw-r--r-- | content/race-detector.article | 2 | ||||
-rw-r--r-- | content/the-app-engine-sdk-and-workspaces-gopath.article | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/content/race-detector.article b/content/race-detector.article index 49d5fee..652830d 100644 --- a/content/race-detector.article +++ b/content/race-detector.article @@ -64,7 +64,7 @@ To build your code with the race detector enabled, just add the To try out the race detector for yourself, fetch and run this example program: - $ go get -race code.google.com/p/go.blog/support/racy + $ go get -race golang.org/x/blog/support/racy $ racy * Examples diff --git a/content/the-app-engine-sdk-and-workspaces-gopath.article b/content/the-app-engine-sdk-and-workspaces-gopath.article index 873883a..1fd42c8 100644 --- a/content/the-app-engine-sdk-and-workspaces-gopath.article +++ b/content/the-app-engine-sdk-and-workspaces-gopath.article @@ -12,13 +12,13 @@ Until recently, the tools in the App Engine SDK were not aware of workspaces. Wi This has all changed with version 1.7.4 of the App Engine SDK. The [[https://developers.google.com/appengine/docs/go/tools/devserver][dev_appserver]] and [[https://developers.google.com/appengine/docs/go/tools/uploadinganapp][appcfg]] tools are now workspace-aware. When running locally or uploading an app, these tools now search for dependencies in the workspaces specified by the GOPATH environment variable. This means you can now use "go get" while building App Engine apps, and switch between normal Go programs and App Engine apps without changing your environment or habits. -For example, let's say you want to build an app that uses OAuth 2.0 to authenticate with a remote service. A popular OAuth 2.0 library for Go is the [[http://code.google.com/p/goauth2][goauth2]] package, which you can install to your workspace with this command: +For example, let's say you want to build an app that uses OAuth 2.0 to authenticate with a remote service. A popular OAuth 2.0 library for Go is the [[https://godoc.org/golang.org/x/oauth2][oauth2]] package, which you can install to your workspace with this command: - go get code.google.com/p/goauth2/oauth + go get golang.org/x/oauth2 When writing your App Engine app, import the oauth package just as you would in a regular Go program: - import "code.google.com/p/goauth2/oauth" + import "golang.org/x/oauth2" Now, whether running your app with the dev_appserver or deploying it with appcfg, the tools will find the oauth package in your workspace. It just works. |