第五話朝聖有兩部分
第一部分是亞美入手新的公路車,騎回つきみ野
第二部分是亞美自己騎去江之島,然後回程半路爆胎
換完內胎後跑去飯田牧場吃冰淇淋
git clone https://github.com/kilfu0701/go-vendor-example.git
cd go-vendor-example
export GOPATH=`pwd`
export PATH=$GOPATH/bin:$PATH
go get -u github.com/kardianos/govendor
rm -rf src/github.com src/golang.org # after install govender, remove "src/github.com" & "src/golang.org"
cd src/app
govendor sync
cd $GOPATH
go run src/main.go
npm install domain-parser
var dp = require('domain-parser'); var result = dp('www.google.com.tw').domainName; console.log(result); // google.com.tw result = dp('direct.jp-bank.japanpost.jp').domainName; console.log(result); // japanpost.jp