This is the code repository for Go Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Go (a.k.a. Golang) is a statically-typed programming language first developed at Google. It is derived from C with additional features such as garbage collection, type safety, dynamic-typing capabilities, additional built-in types, and a large standard library.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
package main
import "github.com/agtorre/go-cookbook/chapter1/tempfiles"
func main() {
if err := tempfiles.WorkWithTemp(); err != nil {
panic(err)
}
}
To use this book, you’ll need the following:
A Unix programming environment The latest version of the Go 1.x series An Internet connection Permission to install additional packages as described in each chapter