Unable to update modules #1457
-
When running
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is resolved simply through regular Go tooling and is independent from this library. We recently changed the import path, and so the easiest fix is to delete any reference to volatiletech/sqlboiler and change it to the new import path (your go code files, go.mod, go.sum etc and just go get github.com/aarondl/sqlboiler/v4@latest) That sort of thing will generally resolve it. The reason you're getting the error is because Github charitably redirects requests to the new location but that behavior is incompatible with Go modules. |
Beta Was this translation helpful? Give feedback.
This is resolved simply through regular Go tooling and is independent from this library. We recently changed the import path, and so the easiest fix is to delete any reference to volatiletech/sqlboiler and change it to the new import path (your go code files, go.mod, go.sum etc and just go get github.com/aarondl/sqlboiler/v4@latest)
That sort of thing will generally resolve it. The reason you're getting the error is because Github charitably redirects requests to the new location but that behavior is incompatible with Go modules.