Install issue: //go:build comment without // +build comment
Closed this issue · 5 comments
blackcodersec commented
edoardottt commented
which golang version are you using?
blackcodersec commented
go version go1.23.1 linux/amd64
edoardottt commented
Hi, it seems an issue related to go versions < 1.18.
I've never encountered such issue. These are the answers I'm finding online:
- https://new.reddit.com/r/golang/comments/rn25ov/encountering_gobuild_comment_without_build/
- https://stackoverflow.com/questions/68360688/whats-the-difference-between-gobuild-and-build-directives
Let me know if that helps,
edoardo
edoardottt commented
@blackcodersec let me know if you've managed to solve the issue. Let's close this, otherwise will be stale
blackcodersec commented
Hi there,
I used snap
cmd, and my issue is resolved now.