The Go Programming Language

The Go Programming Language
Author :
Publisher : Addison-Wesley Professional
Total Pages : 1202
Release :
ISBN-10 : 9780134190563
ISBN-13 : 0134190564
Rating : 4/5 (63 Downloads)

Book Synopsis The Go Programming Language by : Alan A. A. Donovan

Download or read book The Go Programming Language written by Alan A. A. Donovan and published by Addison-Wesley Professional. This book was released on 2015-11-16 with total page 1202 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


The Go Programming Language Related Books

The Go Programming Language
Language: en
Pages: 1202
Authors: Alan A. A. Donovan
Categories: Computers
Type: BOOK - Published: 2015-11-16 - Publisher: Addison-Wesley Professional

DOWNLOAD EBOOK

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-w
The Making of Princeton University
Language: en
Pages: 686
Authors: James Axtell
Categories: Education
Type: BOOK - Published: 2021-03-09 - Publisher: Princeton University Press

DOWNLOAD EBOOK

In 1902, Professor Woodrow Wilson took the helm of Princeton University, then a small denominational college with few academic pretensions. But Wilson had a blu
A Princeton Companion
Language: en
Pages: 571
Authors: Alexander Leitch
Categories: History
Type: BOOK - Published: 2015-03-08 - Publisher: Princeton University Press

DOWNLOAD EBOOK

In this unusual and unique volume, Alexander Leitch provides a warm, often witty, and always informative reference book on Princeton University. The collection
Moving Up Without Losing Your Way
Language: en
Pages: 190
Authors: Jennifer M. Morton
Categories: Education
Type: BOOK - Published: 2021-04-20 - Publisher: Princeton University Press

DOWNLOAD EBOOK

"Upward mobility through the path of higher education has been an article of faith for generations of working-class, low-income, and immigrant college students.
Princeton and the Republic, 1768-1822
Language: en
Pages: 364
Authors: Mark A. Noll
Categories: Education
Type: BOOK - Published: 2004 - Publisher: Regent College Publishing

DOWNLOAD EBOOK

Widely viewed during the Revolutionary period as a champion of both republicanism and evangelical Calvinism, the College of New Jersey nonetheless experienced g