Download The Go Programming Language, PDF

2015
Title The Go Programming Language,
Authors
Genres Programming & Scripting Languages
Publisher Pearson Education
ISBN 9780134190440
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.
More Books You May Like
Shiver by Maggie Stiefvater
Shiver by Maggie Stiefvater
Maggie Stiefvater

From a dazzlingly talented young writer, a haunting and original supernatural romance in the vein of TWILIGHT. For year...

Vagabond, Vol. 2 (VIZBIG Edition)
Vagabond, Vol. 2 (VIZBIG Edition)
Takehiko Inoue

Striving for enlightenment by way of the sword, Miyamoto Musashi is prepared to cut down anyone who stands in his way. V...

Dreamcatcher by Stephen King
Dreamcatcher by Stephen King
Stephen King

From master storyteller Stephen King comes his classic #1 New York Times bestseller about four friends who encounter evi...

The Third Door by Alex Banayan
The Third Door by Alex Banayan
Alex Banayan

FORBES #1 CAREER BOOK TO READ IN 2018The larger-than-life journey of an 18-year-old college freshman who set out from hi...

Persians: The Age of the Great Kings
Persians: The Age of the Great Kings
Lloyd Llewellyn-Jones

A stunning portrait of the magnificent splendor and enduring legacy of ancient Persia The Achaemenid Persian kings rule...

Rivers of London
Rivers of London
Ben Aaronovitch

My name is Peter Grant and until January I was just probationary constable in that mighty army for justice known to all ...

Winter's Heart (The Wheel of Time #9)
Winter's Heart (The Wheel of Time #9)
Robert Jordan

The Wheel of Time is now an original series on Prime Video, starring Rosamund Pike as Moiraine! Since its debut in 1990,...