http://d.hatena.ne.jp/yuheiomori0718/20140102/1388664225#c
コチラを参考にした
mkdir ~/gopath
#bee
export GOPATH=~/gopath
export PATH=$PATH:$GOPATH/bin/bee
権限
sudo chmod 775 /usr/local/go/bin
go get github.com/astaxie/beego
go get github.com/beego/bee
#ユーザbeegoとパスワードbeegoを設定
GRANT ALL PRIVILEGES ON *.* TO beego@'localhost' IDENTIFIED BY 'beego' WITH GRANT OPTION;
SELECT host,user FROM mysql.user;
CREATE DATABASE beeapp;
SHOW DATABASES;
bee run
アクセス