]> Zhao Yanbai Git Server - acecode.git/commitdiff
...
authoracevest <zhaoyanbai@126.com>
Wed, 24 Dec 2014 01:26:45 +0000 (09:26 +0800)
committeracevest <zhaoyanbai@126.com>
Wed, 24 Dec 2014 01:26:45 +0000 (09:26 +0800)
learn/go/hello/build.sh [deleted file]
learn/go/hello/hello.go
learn/go/install.txt

diff --git a/learn/go/hello/build.sh b/learn/go/hello/build.sh
deleted file mode 100755 (executable)
index b18a64a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-8g hello.go
-8l hello.8
-
index c2fbf9cfb9c804e4801d24f8a33c481375fd0112..a36de8e3cbd5876d335508997383697325d4662d 100644 (file)
@@ -3,5 +3,5 @@ package main
 import "fmt"
 
 func main() {
-       fmt.Printf("hello, world\n")
+       fmt.Printf("hello world\n")
 }
index 6600130ec025398b1460b6a5534c8186ce22b648..df2bde73cdb76b8edaef50b0fcc55b4978e12c94 100644 (file)
@@ -14,3 +14,16 @@ cd $GOROOT/src
 
 sudo ./all.bash
 
+
+
+
+========================================
+INSTALL ON RASPBERRY PI
+========================================
+sudo apt-get install -y mercurial gcc libc6-dev
+export GOROOT=/home/pi/go
+export GOARCH=arm
+export GOARM="5"
+cd /home/pi/go/src
+./all.bash
+