Translate to "Python Cookbook" to golang