Sample code for Go workshop: How to write code without object and exception handling