Go get no longer works
dw33d opened this issue · comments
Tried to use go get command for echo v4, but the docs say its deprecated
Checklist
- [ ✓] Dependencies installed
- [ ✓] No typos
- [✓ ] Searched existing issues and docs
Expected behaviour
I wanted it to install right away.
Actual behaviour
'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
Steps to reproduce
go get github.com/labstack/echo/v4 && go get github.com/labstack/echo/v4/middleware
System
Kubuntu 24.04 LTS x86_64
##Note: I believe this might be an informative issue for people who use the go get command while using go version go1.22.2 linux/amd64
You only need to do go get github.com/labstack/echo/v4
as it adds the middleware package also.