You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks really neat. But I'm having trouble installing it. Anyone know of a workaround now that go get is deprecated?
macOS 13.4.1
Go 1.20.5
go get
$ go get github.com/guptarohit/asciigraph
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'.
go install
$ go install github.com/guptarohit/asciigraph@latest
package github.com/guptarohit/asciigraph is not a main package
The text was updated successfully, but these errors were encountered:
Thanks for bringing it to my attention. I've updated cli installation instruction in README, this should work for installing cli.
Otherwise, if you wanted to have it as dependency in your Go application then there has to be a go.mod file in your application before running go get command.
Command to initialise go module: go mod init <module name>
This looks really neat. But I'm having trouble installing it. Anyone know of a workaround now that
go get
is deprecated?go get
go install
The text was updated successfully, but these errors were encountered: