https://gist.github.com/mogeta/6154928
Goやってる人は「強い」感ある人が多いので気軽に参加出来る
弱者が集まる勉強会。ゆるい感じでいきます。主催者が一番の弱者
func (c App) Hello() revel.Result { | |
return c.Render() | |
} |
package main | |
import ( | |
"bytes" | |
"crypto/md5" | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io" | |
) |
#gruntを使用して、サーバーをたてる。 | |
grunt serve | |
#testの実行 | |
grunt test | |
#ビルド minifyやファイルの統合などを行う | |
grunt build |
#GOPATHは好きなところで良い。 | |
echo "GOPATHに指定するpath" >> .bash_profile | |
brew install hg | |
go get github.com/robfig/revel | |
go get github.com/robfig/revel/revel | |
# テンプレートを作る | |
revel new myapp | |
# スタート | |
revel run myapp |
https://gist.github.com/mogeta/6154928
Goやってる人は「強い」感ある人が多いので気軽に参加出来る
弱者が集まる勉強会。ゆるい感じでいきます。主催者が一番の弱者
step up go
package main | |
import ( | |
"errors" | |
"fmt" | |
"log" | |
"net" | |
"net/http" | |
"net/rpc" | |
"time" |
やったこと。
git clone https://github.com/ForceExamples/appengine-force-example
app.yamlに以下を追加
env_variables:
DART_PUB_SERVE: 'http://192.168.59.3:7777'