> It won't need a swap file unless the program forces all that to be > allocated, which it shouldn't,
If you want to get to the satisfying ALL TESTS PASSED message at the end of the go install+test process, you will need a swap file, even on a 1GB raspberry pi. Trust me.