Golang code and examples