How to detect the cpu architecture (arm64 vs amd64 vs arm)
hellt opened this issue · 1 comments
hellt commented
Hi @klauspost
What would you say should be the method to detect if the cpu architecture is one of amd64 or arm64?
klauspost commented
Honestly, I would just use runtime.GOARCH
which is a constant anyway, so resolvable at compile time.