The Remote Sensors Protocol can be used to connect golang to Scratch.