Open spirovskib opened 7 months ago
Encountered this myself on an Alma server.
The toolchain directive wasn't added until version 1.21. Unfortunately, it might take a while for this to trickle down into official repositories.
Take your pick. I recommend Option 2.
Manually install a more recent version of go. The golang website describes how over here. Not too difficult, but Option 2 is still easier.
go install golang.org/dl/go1.22.0@latest
go1.22.0 download
go1.22.0 install -v github.com/owasp-amass/oam-tools/cmd/...@master
Of course, ...
will install all three tools. Substitute for oam_subs if that's all you need.
Running on Mac M1, Sonoma 14.3.
go version:
go version go1.20.2 darwin/arm64
Error received: