Browse Source

Fixed the Go frameworks

msmith-techempower 10 years ago
parent
commit
6bcff9bcc8

+ 4 - 1
frameworks/Go/beego/setup.sh

@@ -3,5 +3,8 @@
 # Where to find the go executable
 export PATH="$GOROOT/bin:$PATH"
 
-go get ./...
+
+go get github.com/astaxie/beego
+go get github.com/go-sql-driver/mysql
+
 go run src/hello/hello.go &

+ 1 - 3
frameworks/Go/gin/install.sh

@@ -1,5 +1,3 @@
 #!/bin/bash
 
-fw_depends go
-go get github.com/gin-gonic/gin
-go get github.com/go-sql-driver/mysql
+fw_depends go

+ 3 - 0
frameworks/Go/gin/setup.sh

@@ -3,4 +3,7 @@
 # Where to find the go executable
 export PATH="$GOROOT/bin:$PATH"
 
+go get github.com/gin-gonic/gin
+go get github.com/go-sql-driver/mysql
+
 go run hello.go &

+ 2 - 1
frameworks/Go/webgo/setup.sh

@@ -3,5 +3,6 @@
 # Where to find the go executable
 export PATH="$GOROOT/bin:$PATH"
 
-go get ./...
+go get github.com/hoisie/web
+
 go run src/hello/hello.go &