Closed Kubuxu closed 5 years ago
It is not strictly needed but in cases of builds with Go older than 1.11 it significantly improves error message.
I wonder if you could get fancier and put // +build !go1.11,wasm?
// +build !go1.11,wasm
There is no reason to do so.
It was a question, but technically you're occluding future behaviour changes to the Go tooling.
It is not strictly needed but in cases of builds with Go older than 1.11 it significantly improves error message.