Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Dependencies with dep ensure Fails with Error: No versions of github.com/go-playground/validator met constraints #2427

Closed
helloworldless opened this issue Jul 6, 2020 · 1 comment

Comments

@helloworldless
Copy link

Description

Can't install dependencies using dep ensure due to error: "Solving failure: No versions of github.com/go-playground/validator met constraints" (full error below)

I'm new to Go and Gin, so I may be missing something obvious, but I found this comment in a go-playground/validator issue where one of the contributors seems to be saying that there could be a change made on the gin side to get around this. I've tried the other suggestions from that issue, but it's still failing. So I'm hoping someone can suggest a solution here.

How to reproduce

  1. Create project in GOPATH src directory: C:\dev\go\src\github.com\paltamadura\go-api\
    1. echo %GOPATH% C:\dev\go
  2. Run go mod init
    1. Contents are two lines: module github.com/paltamadura/go-api and go 1.14
  3. Manually create Gopkg.toml with the contents below (manually creating because of another issue where dep init hangs on Windows)
  4. Run dep ensure
[[constraint]]
  name = "github.com/gin-gonic/gin"
  version = "1.6.3"

[[constraint]]
  name = "github.com/lib/pq"
  version = "1.0.0"

[prune]
  go-tests = true
  unused-packages = true

Expectations

dep ensure installs dependencies successfully

Actual result

dep ensure
Solving failure: No versions of github.com/go-playground/validator met constraints:
v10.3.0: Could not introduce github.com/go-playground/validator@v10.3.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v10.2.0: Could not introduce github.com/go-playground/validator@v10.2.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v10.1.0: Could not introduce github.com/go-playground/validator@v10.1.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v10.0.1: Could not introduce github.com/go-playground/validator@v10.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v10.0.0: Could not introduce github.com/go-playground/validator@v10.0.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.31.0: Could not introduce github.com/go-playground/validator@v9.31.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.30.2: Could not introduce github.com/go-playground/validator@v9.30.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.30.1: Could not introduce github.com/go-playground/validator@v9.30.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.30.0: Could not introduce github.com/go-playground/validator@v9.30.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.29.1: Could not introduce github.com/go-playground/validator@v9.29.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.29.0: Could not introduce github.com/go-playground/validator@v9.29.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.28.0: Could not introduce github.com/go-playground/validator@v9.28.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.27.0: Could not introduce github.com/go-playground/validator@v9.27.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.26.0: Could not introduce github.com/go-playground/validator@v9.26.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.25.0: Could not introduce github.com/go-playground/validator@v9.25.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.24.0: Could not introduce github.com/go-playground/validator@v9.24.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.23.0: Could not introduce github.com/go-playground/validator@v9.23.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.22.0: Could not introduce github.com/go-playground/validator@v9.22.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.21.1: Could not introduce github.com/go-playground/validator@v9.21.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.21.0: Could not introduce github.com/go-playground/validator@v9.21.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.20.2: Could not introduce github.com/go-playground/validator@v9.20.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.20.1: Could not introduce github.com/go-playground/validator@v9.20.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.20.0: Could not introduce github.com/go-playground/validator@v9.20.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.19.0: Could not introduce github.com/go-playground/validator@v9.19.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.18: Could not introduce github.com/go-playground/validator@v9.18, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.17.1: Could not introduce github.com/go-playground/validator@v9.17.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.17.0: Could not introduce github.com/go-playground/validator@v9.17.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.16.1: Could not introduce github.com/go-playground/validator@v9.16.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.16.0: Could not introduce github.com/go-playground/validator@v9.16.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.15.0: Could not introduce github.com/go-playground/validator@v9.15.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.14.0: Could not introduce github.com/go-playground/validator@v9.14.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.13.0: Could not introduce github.com/go-playground/validator@v9.13.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.12.0: Could not introduce github.com/go-playground/validator@v9.12.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.11.0: Could not introduce github.com/go-playground/validator@v9.11.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.10.0: Could not introduce github.com/go-playground/validator@v9.10.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.9.4: Could not introduce github.com/go-playground/validator@v9.9.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.9.3: Could not introduce github.com/go-playground/validator@v9.9.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.9.2: Could not introduce github.com/go-playground/validator@v9.9.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.9.1: Could not introduce github.com/go-playground/validator@v9.9.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.9.0: Could not introduce github.com/go-playground/validator@v9.9.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.8.0: Could not introduce github.com/go-playground/validator@v9.8.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.7.0: Could not introduce github.com/go-playground/validator@v9.7.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.6.0: Could not introduce github.com/go-playground/validator@v9.6.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.5.0: Could not introduce github.com/go-playground/validator@v9.5.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.4.0: Could not introduce github.com/go-playground/validator@v9.4.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.6: Could not introduce github.com/go-playground/validator@v9.3.6, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.5: Could not introduce github.com/go-playground/validator@v9.3.5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.4: Could not introduce github.com/go-playground/validator@v9.3.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.3: Could not introduce github.com/go-playground/validator@v9.3.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.2: Could not introduce github.com/go-playground/validator@v9.3.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.1: Could not introduce github.com/go-playground/validator@v9.3.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.3.0: Could not introduce github.com/go-playground/validator@v9.3.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.2.2: Could not introduce github.com/go-playground/validator@v9.2.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.2.1: Could not introduce github.com/go-playground/validator@v9.2.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.2.0: Could not introduce github.com/go-playground/validator@v9.2.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.1.3: Could not introduce github.com/go-playground/validator@v9.1.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.1.2: Could not introduce github.com/go-playground/validator@v9.1.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.1.1: Could not introduce github.com/go-playground/validator@v9.1.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.1.0: Could not introduce github.com/go-playground/validator@v9.1.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9: Could not introduce github.com/go-playground/validator@v9, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.0.0: Could not introduce github.com/go-playground/validator@v9.0.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.18.2: Could not introduce github.com/go-playground/validator@v8.18.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.18.1: Could not introduce github.com/go-playground/validator@v8.18.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.18.0: Could not introduce github.com/go-playground/validator@v8.18.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.17.3: Could not introduce github.com/go-playground/validator@v8.17.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.17.2: Could not introduce github.com/go-playground/validator@v8.17.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.17.1: Could not introduce github.com/go-playground/validator@v8.17.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.17: Could not introduce github.com/go-playground/validator@v8.17, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.16: Could not introduce github.com/go-playground/validator@v8.16, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.15.1: Could not introduce github.com/go-playground/validator@v8.15.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.15: Could not introduce github.com/go-playground/validator@v8.15, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.14: Could not introduce github.com/go-playground/validator@v8.14, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.13: Could not introduce github.com/go-playground/validator@v8.13, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.12: Could not introduce github.com/go-playground/validator@v8.12, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.11: Could not introduce github.com/go-playground/validator@v8.11, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.10: Could not introduce github.com/go-playground/validator@v8.10, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.9: Could not introduce github.com/go-playground/validator@v8.9, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.8.1: Could not introduce github.com/go-playground/validator@v8.8.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.8: Could not introduce github.com/go-playground/validator@v8.8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.7: Could not introduce github.com/go-playground/validator@v8.7, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.6: Could not introduce github.com/go-playground/validator@v8.6, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.5: Could not introduce github.com/go-playground/validator@v8.5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.4: Could not introduce github.com/go-playground/validator@v8.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.3: Could not introduce github.com/go-playground/validator@v8.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.2: Could not introduce github.com/go-playground/validator@v8.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.1: Could not introduce github.com/go-playground/validator@v8.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8.0.1: Could not introduce github.com/go-playground/validator@v8.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8: Could not introduce github.com/go-playground/validator@v8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v7.2: Could not introduce github.com/go-playground/validator@v7.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v7.1: Could not introduce github.com/go-playground/validator@v7.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v7: Could not introduce github.com/go-playground/validator@v7, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.8: Could not introduce github.com/go-playground/validator@v6.8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.7: Could not introduce github.com/go-playground/validator@v6.7, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.6: Could not introduce github.com/go-playground/validator@v6.6, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.5.1: Could not introduce github.com/go-playground/validator@v6.5.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.5: Could not introduce github.com/go-playground/validator@v6.5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.4: Could not introduce github.com/go-playground/validator@v6.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.3: Could not introduce github.com/go-playground/validator@v6.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.2: Could not introduce github.com/go-playground/validator@v6.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.1.1: Could not introduce github.com/go-playground/validator@v6.1.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.1: Could not introduce github.com/go-playground/validator@v6.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.0.2: Could not introduce github.com/go-playground/validator@v6.0.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.0.1: Could not introduce github.com/go-playground/validator@v6.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6.0: Could not introduce github.com/go-playground/validator@v6.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.12: Could not introduce github.com/go-playground/validator@v5.12, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.11: Could not introduce github.com/go-playground/validator@v5.11, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.10.3: Could not introduce github.com/go-playground/validator@v5.10.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.10.2: Could not introduce github.com/go-playground/validator@v5.10.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.10.1: Could not introduce github.com/go-playground/validator@v5.10.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.10: Could not introduce github.com/go-playground/validator@v5.10, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.9.2: Could not introduce github.com/go-playground/validator@v5.9.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.9.1: Could not introduce github.com/go-playground/validator@v5.9.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.9: Could not introduce github.com/go-playground/validator@v5.9, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.8.1: Could not introduce github.com/go-playground/validator@v5.8.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.8: Could not introduce github.com/go-playground/validator@v5.8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.7.1: Could not introduce github.com/go-playground/validator@v5.7.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.7: Could not introduce github.com/go-playground/validator@v5.7, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.6.1: Could not introduce github.com/go-playground/validator@v5.6.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.6: Could not introduce github.com/go-playground/validator@v5.6, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.5.1: Could not introduce github.com/go-playground/validator@v5.5.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.5: Could not introduce github.com/go-playground/validator@v5.5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.4: Could not introduce github.com/go-playground/validator@v5.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.2: Could not introduce github.com/go-playground/validator@v5.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.1: Could not introduce github.com/go-playground/validator@v5.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.0.2: Could not introduce github.com/go-playground/validator@v5.0.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5.0.1: Could not introduce github.com/go-playground/validator@v5.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5: Could not introduce github.com/go-playground/validator@v5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v4.0.4: Could not introduce github.com/go-playground/validator@v4.0.4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v4.0.3: Could not introduce github.com/go-playground/validator@v4.0.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v4.0.1: Could not introduce github.com/go-playground/validator@v4.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v4.0: Could not introduce github.com/go-playground/validator@v4.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v3.0.2: Could not introduce github.com/go-playground/validator@v3.0.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v3.0.1: Could not introduce github.com/go-playground/validator@v3.0.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v3.0: Could not introduce github.com/go-playground/validator@v3.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v2.3: Could not introduce github.com/go-playground/validator@v2.3, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v2.2: Could not introduce github.com/go-playground/validator@v2.2, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v2.1: Could not introduce github.com/go-playground/validator@v2.1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v2.0: Could not introduce github.com/go-playground/validator@v2.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v1.0: Could not introduce github.com/go-playground/validator@v1.0, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
master: Could not introduce github.com/go-playground/validator@master, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
updates-and-fixes: Could not introduce github.com/go-playground/validator@updates-and-fixes, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v4: Could not introduce github.com/go-playground/validator@v4, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v5: Could not introduce github.com/go-playground/validator@v5, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v6: Could not introduce github.com/go-playground/validator@v6, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v7: Could not introduce github.com/go-playground/validator@v7, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8: Could not introduce github.com/go-playground/validator@v8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9: Could not introduce github.com/go-playground/validator@v9, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v8,8: Could not introduce github.com/go-playground/validator@v8,8, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)
v9.0.0RC1: Could not introduce github.com/go-playground/validator@v9.0.0RC1, as its subpackage github.com/go-playground/validator/v10 is missing. (Package is required by github.com/gin-gonic/gin@v1.6.3.)

Environment

  • go version: 1.14.4
  • gin version (or commit ref): 1.6.3
  • operating system: Windows 10
@helloworldless
Copy link
Author

I figured out that dep was superseded by Go modules. The build works fine now and downloads the dependencies using Go modules.

https://blog.golang.org/using-go-modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant