摘要: 从数据库导出gorm使用的数据结构 go get -u -v github.com/xxjwxc/gormt@master gormt -H=数据库地址 -d=数据库名 -p=密码 -u=用户 --port=3306 -F=true 阅读全文
posted @ 2020-10-13 10:54 ruixing 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 使用私有仓库gitlab进行go依赖管理(go mod / go get) // 编辑git配置文件 ~/.gitconfig [url "git@gitlab.***.com:"] insteadOf = https://gitlab.***.com // 配置环境变量 GOPRIVATE=git 阅读全文
posted @ 2020-10-13 10:27 ruixing 阅读(1397) 评论(0) 推荐(0) 编辑