Go Programming language is becoming popular in IoT sphere as well. I am very fascinated by Go powered robotics/IoT framework Gobot and planning to play with it using my RPi. This post explains how to install Go on Raspberry Pi. My RPi (2 Model B) shows it has ARMv7 processor. $ uname -m armv7l Go’s current stable version 1.8 has official ARMv6 build available for download Since ARMv7 compatible CPU can execute ARMv6 code, let’s download Go 1.
This post explains how to configure Raspberry Pi for headless mode (with no monitor and keyboard/mouse of its own). Things we need Raspberry Pi SD / microSD card (4GB+) USB WiFi adapter (Not required for Raspberry Pi 3 which has WiFi inbuilt) USB power cable A computer with Linux, macOS or Windows (for burning OS image to SD / microSD and remote connection) Internet connection
Config factor from The Twelve-Factor App states that application’s configuration should be isolated from code to make configuring an app for different environments very convenient and scaling it up a breeze. Configuration management for modern applications which run on so many different environment is becoming complex with advent of microservices and cloud computing. Not to mention dealing with several formats/markup languages to store app’s configurations. This post is about one of my favorite Go libraries Viper which claims to be a complete configuration solution for Go applications.