August 2019
Beginner to intermediate
798 pages
17h 2m
English
Error handling in a very important feature of Go because almost all Go functions return an error message or nil, which is the Go way of saying whether there was an error condition while executing a function. You will most likely get tired of seeing the following Go code not only in this book but also in every other Go program you can find on the internet:
if err != nil {
fmt.Println(err)
os.Exit(10)
}
The preceding code prints the generated error message on ...
Read now
Unlock full access