diff --git a/example/basic/main.go b/example/basic/main.go index f6c58fa..e9fe52d 100644 --- a/example/basic/main.go +++ b/example/basic/main.go @@ -2,49 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// TODO(jbd): Refer to http://golang.org/doc/install/source -// once Go 1.5 instructions are complete. - // An app that draws a green triangle on a red background. // // Note: This demo is an early preview of Go 1.5. In order to build this -// program as an Android APK using the gomobile tool, you need to install -// Go 1.5 from the source. +// program as an Android APK using the gomobile tool. // -// Clone the source from the tip under $HOME/go directory. On Windows, -// you may like to clone the repo to your user folder, %USERPROFILE%\go. -// -// $ git clone https://go.googlesource.com/go $HOME/go -// -// Go 1.5 requires Go 1.4. Read more about this requirement at -// http://golang.org/s/go15bootstrap. -// Set GOROOT_BOOTSTRAP to the GOROOT of your existing 1.4 installation or -// follow the steps below to checkout go1.4 from the source and build. -// -// $ git clone https://go.googlesource.com/go $HOME/go1.4 -// $ cd $HOME/go1.4 -// $ git checkout go1.4.1 -// $ cd src && ./make.bash -// -// If you clone Go 1.4 to a different destination, set GOROOT_BOOTSTRAP -// environmental variable accordingly. -// -// Build Go 1.5 and add Go 1.5 bin to your path. -// -// $ cd $HOME/go/src && ./make.bash -// $ export PATH=$PATH:$HOME/go/bin -// -// Set a GOPATH if no GOPATH is set, add $GOPATH/bin to your path. -// -// $ export GOPATH=$HOME -// $ export PATH=$PATH:$GOPATH/bin -// -// Get the gomobile tool and initialize. -// -// $ go get golang.org/x/mobile/cmd/gomobile -// $ gomobile init -// -// It may take a while to initialize gomobile, please wait. +// See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile. // // Get the basic example and use gomobile to build or install it on your device. // diff --git a/example/sprite/main.go b/example/sprite/main.go index e081367..b24ec09 100644 --- a/example/sprite/main.go +++ b/example/sprite/main.go @@ -2,49 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// TODO(jbd): Refer to http://golang.org/doc/install/source -// once Go 1.5 instructions are complete. - // An app that demonstrates the sprite package. // // Note: This demo is an early preview of Go 1.5. In order to build this -// program as an Android APK using the gomobile tool, you need to install -// Go 1.5 from the source. +// program as an Android APK using the gomobile tool. // -// Clone the source from the tip under $HOME/go directory. On Windows, -// you may like to clone the repo to your user folder, %USERPROFILE%\go. -// -// $ git clone https://go.googlesource.com/go $HOME/go -// -// Go 1.5 requires Go 1.4. Read more about this requirement at -// http://golang.org/s/go15bootstrap. -// Set GOROOT_BOOTSTRAP to the GOROOT of your existing 1.4 installation or -// follow the steps below to checkout go1.4 from the source and build. -// -// $ git clone https://go.googlesource.com/go $HOME/go1.4 -// $ cd $HOME/go1.4 -// $ git checkout go1.4.1 -// $ cd src && ./make.bash -// -// If you clone Go 1.4 to a different destination, set GOROOT_BOOTSTRAP -// environmental variable accordingly. -// -// Build Go 1.5 and add Go 1.5 bin to your path. -// -// $ cd $HOME/go/src && ./make.bash -// $ export PATH=$PATH:$HOME/go/bin -// -// Set a GOPATH if no GOPATH is set, add $GOPATH/bin to your path. -// -// $ export GOPATH=$HOME -// $ export PATH=$PATH:$GOPATH/bin -// -// Get the gomobile tool and initialize. -// -// $ go get golang.org/x/mobile/cmd/gomobile -// $ gomobile init -// -// It may take a while to initialize gomobile, please wait. +// See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile. // // Get the sprite example and use gomobile to build or install it on your device. //