Nonfiction
Book
Availability
Details
PUBLISHED
EDITION
DESCRIPTION
xxii, 468 pages : illustrations ; 24 cm
ISBN/ISSN
LANGUAGE
NOTES
Includes index
Setting up your Go environment -- Predeclared types and declarations -- Composition types -- Blocks, shadows, and control structures -- Functions -- Pointers -- Types, methods, and interfaces - Generics -- Errors -- Modules, packages, and imports -- Go tooling -- Concurrency in Go -- The standard library -- The context -- Writing tests -- Here Be Dragons: Reflect, unsafe, and Cgo
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available to teach Go's syntax to developers with experience in other programming languages, but tutorials aren't enough. They don't teach Go's idioms, so developers end up recreating patterns that don't make sense in a Go context. This practical guide provides the essential background you need to write clear and idiomatic Go. No matter your level of experience, you'll learn how to think like a Go developer. Author Jon Bodner introduces the design patterns experienced Go developers have adopted and explores the rationale for using them. This updated edition also shows you how Go's generics support fits into the language