Beggo --- 环境搭建

1. 模块下载

进入到$GOPATH/src

go get gihub.com/astaxie/beego      // golang框架beego
go get gihub.com/astaxie/beego/orm 
go get gihub.com/astaxie/bee        // bee工具类似 pip

2. 创建项目

bee new 项目名

3. goland打开项目

4. 启动gomod并配置代理

File --> settings -->Go -->Go modules 中配置

go mod init
go mod tidy    // 下载依赖

5. goland Config配置

posted @ 2024-09-19 16:57  河图s  阅读(28)  评论(0)    收藏  举报