wangkuiyi/gotorch

go get is not working

sbdatasc opened this issue · 1 comments

I tried using the Gotorch library. But couldn't get it working. Pardon the fact that I am a bit new to Go and this library.

If I use the below command - go get github.com/wangkuiyi/gotorch.

I am getting the below error:
c:\ml\goenv>go get github.com/wangkuiyi/gotorch
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.

Is there a change to how go get command should be working?

Identified the problem. please ignore.