June 2017
Intermediate to advanced
400 pages
10h 32m
English
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The Copy() function copies between interfaces and treats them like streams."
A block of code is set as follows:
package main import "github.com/agtorre/go-cookbook/chapter1/tempfiles" func main() { if err := tempfiles.WorkWithTemp(); err != nil { panic(err) }}
Any command-line input or output is written as follows:
$ go run main.go /var/folders/kd/ygq5l_0d1xq1lzk_c7htft900000gn/T/tmp764135258/tmp588787953 ...
Read now
Unlock full access