bee run出現
0003 Failed to build the application: ..\github. com\astaxie\beego\staticfile.
go:31:2: cannot find package "github.com/hashicorp/golang-lru" in any of:
此問題的出現多半是因爲最開始下載beego包時,沒有下載完整造成的,所以要把未下載完的包補齊。
如我出現的問題是 github.com/hashicorp/golang-lru這個包缺失,去GitHub找到自己缺失的項目,並下載
在C:\Users\26825\go\src\github.com\hashicorp這個目錄下
git clone https://github.com/hashicorp/golang-lru.git
之後再運行運行bee run就行了