You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /Users/rouchi/go,即进入GOPATH路径下,执行命令: go get github.com/astaxie/beego go get github.com/beego/bee
下载beego与bee安装包,可以看到路径下多了src,pkg,bin三个文件夹
此时可以通过bee命令创建项目: bee new achievement cd achievement bee run
如果提示-bash: bee: command not found,记得检查环境变量。
bee new命令创建的web项目,可以开发后端与页面。也可以通过bee api命令创建纯后端的项目。如下: bee api beeapi cd beeapi bee run -downdoc=true -gendoc=true
cd /Users/rouchi/go
,即进入GOPATH路径下,执行命令:go get github.com/astaxie/beego
go get github.com/beego/bee
下载beego与bee安装包,可以看到路径下多了src,pkg,bin三个文件夹
此时可以通过bee命令创建项目:
bee new achievement
cd achievement
bee run
如果提示-bash: bee: command not found,记得检查环境变量。
bee api beeapi
cd beeapi
bee run -downdoc=true -gendoc=true
go get golang.org/x/crypto/bcrypt
,或者在指定目录下下载bcrypt源码bcrypt.CompareHashAndPassword([]byte(m.Password), []byte(password))
passwordHash, err := bcrypt.GenerateFromPassword([]byte(password), bcrypt.DefaultCost)
go get github.com/dgrijalva/jwt-go
The text was updated successfully, but these errors were encountered: