我创建了一个 Golang 项目。使用 dep 作为依赖管理。我可以引入github.com/gin-gonic/gin
v1.4.0,但是我不知道如何在我的项目中设置这个版本。
我正在尝试创建一个功能。
git checkout -b bate-0.0.1
修改 gopkg.toml 文件时出错
Solving failure: No versions of github.com/sillyhatxu/go-utils met constraints:
master: Could not introduce github.com/sillyhatxu/go-utils@master, as it is not allowed by constraint beta-0.0.1 from project aftersales-backend.
beta-0.0.1: Could not introduce github.com/sillyhatxu/go-utils@beta-0.0.1, as it is not allowed by constraint beta-0.0.1 from project aftersales-backend.
[[constraint]]
name = "github.com/sillyhatxu/go-utils"
version = "beta-0.0.1"