Btw, the latest version of Go can be installed via DietPi-Software:
apt autopurge golang
dietpi-software install 188
This pulls the latest upstream build while the Debian package is several versions older .
As alternative to /home/pi you could use /home/dietpi. Latest Raspberry Pi OS doesn’t ship with the pi user anymore either, but one is offered to create a custom login user now on first boot. Something we wanted to do with DietPi as well when time allows.