# a2AdminGo **Repository Path**: a2go/a2AdminGo ## Basic Information - **Project Name**: a2AdminGo - **Description**: a2Admin的后台接口 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2016-10-24 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #a2AdminGo ##环境搭建 鉴于需要的三方库有些需要翻墙下载,所以将所需类库要下载到golib文件中, 做为公共类库为多个项目提供调用 1.从https://git.oschina.net/a2go/golib.git下载项目,将golib解压到本地,目录结构为golib->pkg,golib->src 2.设置GOPATH时,将golib路径加载到GOPATH中 3.通过IDEA配置时,参考环境变量配置 4.配置文件config.ini所在的位置需与运行配置图中的work directory  一致 ##GoLib中的第三方库 1.web框架Gin go get github.com/gin-gonic/gin 2.数据库操作框架 sqlGO,基于go-sql-driver实现 go get git.oschina.net/a2go/sqlGo 3.配置文件ini读写库 goconfig go get github.com/Unknwon/goconfig 4.工具类 utilGo go get git.oschina.net/a2go/utilGo