The Go Programming Language

The book contains hundreds of interesting and practical examples that cover the whole language and a wide range of applications. The code samples from the book are available for download from gopl.io.

The Go Programming Language

The Go Programming Language

The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you'll find it accessible whether you're most comfortable with JavaScript, Ruby, Python, Java, or C++. The first chapter is a tutorial on the basic concepts of Go, introduced through programs for file I/O and text processing, simple graphics, and web clients and servers. Early chapters cover the structural elements of Go programs: syntax, control flow, data types, and the organization of a program into packages, files, and functions. The examples illustrate many packages from the standard library and show how to create new ones of your own. Later chapters explain the package mechanism in more detail, and how to build, test, and maintain projects using the go tool. The chapters on methods and interfaces introduce Go's unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied. They explain the key principles of encapsulation, composition, and substitutability using realistic examples. Two chapters on concurrency present in-depth approaches to this increasingly important topic. The first, which covers the basic mechanisms of goroutines and channels, illustrates the style known as communicating sequential processes for which Go is renowned. The second covers more traditional aspects of concurrency with shared variables. These chapters provide a solid foundation for programmers encountering concurrency for the first time. The final two chapters explore lower-level features of Go. One covers the art of metaprogramming using reflection. The other shows how to use the unsafe package to step outside the type system for special situations, and how to use the cgo tool to create Go bindings for C libraries. The book features hundreds of interesting and practical examples of well-written Go code that cover the whole language, its most important packages, and a wide range of applications. Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download from http://gopl.io/ and may be conveniently fetched, built, and installed using the go get command.

More Books:

The Go Programming Language
Language: en
Pages: 400
Authors: Brian W. Kernighan, Alan Donovan
Categories: Computers
Type: BOOK - Published: 2015-08-27 - Publisher: Addison-Wesley Professional

The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you'll find it accessible whether
The Go Programming Language Phrasebook
Language: en
Pages: 288
Authors: David Chisnall
Categories: Computers
Type: BOOK - Published: 2012-05-01 - Publisher: Addison-Wesley

The Go Programming Language Phrasebook Essential Go code and idioms for all facets of the development process This guide gives you the code “phrases” you need to quickly and effectively complete a wide variety of projects with Go, today’s most exciting new programming language. Tested, easy-to-adapt code examples illuminate every
Go - Das Praxisbuch
Language: de
Pages: 328
Authors: Andreas Schröpfer
Categories: Computers
Type: BOOK - Published: 2020 - Publisher:

Go ist bei aktuellen Umfragen unter Entwicklern immer unter den Top 5 der Programmiersprachen, die man gerne lernen möchte. Denn Go ist einfach. Und Go ist schnell. Von Google entwickelt und damit quasi für die Coud geschrieben, tritt die Programmiersprache an, das Programmieren rund um Cluster und die Cloud einfacher
The Go Programming Language
Language: en
Pages:
Authors: Alan A. A. Donovan, Brian W. Kernighan
Categories: Go (Computer program language)
Type: BOOK - Published: 2016 - Publisher:

Books about The Go Programming Language
The Way to Go
Language: en
Pages: 628
Authors: Ivo Balbaert
Categories: Computers
Type: BOOK - Published: 2012 - Publisher: iUniverse

This book provides the reader with a comprehensive overview of the new open source programming language Go (in its first stable and maintained release Go 1) from Google. The language is devised with Java / C#-like syntax so as to feel familiar to the bulk of programmers today, but Go

Popular All Time

AMNH Birds of North America
A Hunter-Gatherer's Guide to the 21st Century
Fuzz: When Nature Breaks the Law
Sapiens
Breath
The Science of Jurassic World
The Physics Book
Braiding Sweetgrass
Astrophysics for People in a Hurry
American Buffalo
The Genetic Lottery
The Big, Bad Book of Botany
What Is Relativity?
The Elephant Whisperer
Saving Us
Why We Sleep
Unsettled
Until the End of Time

Recent Books: