Hello,
I have been trying to use this project : github . com / hrautila/cvx [new users can’t post more than 2 links]
It depends on two modules from the same repo hrautila/linalg and hrautila/matrix.
- I have ``` go mod init GitHub - hrautila/cvx: Go package for convex optimization ``` and ``` go mod tidy ``` following guidelines at : go.dev/blog/migrating-to-go-modules :
I get :
no matching versions for query “latest”
(I know what the tag @latest means , yet I am puzzled it doesn’t fallback to a pseudo version)
-
I have read the go wiki on writing go modules, publishing, etc… and read go.dev/ref/mod#resolve-pkg-mod and more to no avail.
-
I also tried to name the module as something that I thought would be local but got :
go: finding module for package example.com/matrix
go: example . com/linalg/blas imports
example . com/matrix: cannot find module providing package example . com/matrix: unrecognized import path “example . com/matrix”: reading https : //example . com/matrix?go-get=1: 404 Not Found
I thought that placing and registering the module in a workspace : go work use cvx/ would prevent from fetching the URL. Again, not what I expected.
I think I am missing something important. Could someone explain me what is the problem ? (somehow, I guess that exposing the problem will be dual to the solution).
thanks for your insight ![]()