Not an idiomatic way. Shorter might be possible
go tool dist listGets you all builds.
By now just looking for the first 2 lowercase characters of the OS in the list against the ${os}, look for the arch as indicated, and at least it becomes responsive to the changes in golang capabilities.
As for Darwin 386: That is probably your only exception (Don't know where you would hit that one though)