This question already has an answer here:
I've found that you can cast a variable int32 to uint32 but you cannot cast a const int32 to uint32.
See here: https://play.golang.org/p/tDm6B6g5P6u
If line 14 is commented out it works.
Does anyone have an explanation for this?
Thanks!
</div>