1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 18:40:54 +00:00

Update fix1To2.go

This commit is contained in:
jianzhiyao 2021-08-05 18:31:53 +08:00 committed by GitHub
parent 97e66f3d18
commit 112769d885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ import (
func fix1To2() int { func fix1To2() int {
beeLogger.Log.Info("Upgrading the application...") beeLogger.Log.Info("Upgrading the application...")
cmdStr := `go get -u github.com/beego/beego/v2` cmdStr := `go get -u github.com/beego/beego/v2@master`
err := runShell(cmdStr) err := runShell(cmdStr)
if err != nil { if err != nil {
beeLogger.Log.Error(err.Error()) beeLogger.Log.Error(err.Error())