Facebook Icon Image Google Plus Icon Image Twitter Icon Image Logo Image

The Go Programming Language

The Go Programming Language Image

Book details:

Publisher:Addison Wesley
Category: Addison Wesley
Posted:Jun 30 2016
Book format:PDF
Book size:22.05 MB

Book Description:

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 and may be conveniently fetched, built, and installed using the go get command.

Download Link:

Related Books:

The C++ Programming Language 3rd Edition Image

The C++ Programming Language 3rd Edition

Jun 30 2016 More than three-quarters of a million programmers have benefited from this book in all of its editions Written by Bjarne Stroustrup, the creator of C++, this is the world's most trusted and widely read book on C++. For this special hardcover edition, two new appendixes on locales and standard library exception safety (also available at have been added. The result is complete, authoritative coverage of the C++ language, its standard library, and key design techniques. Based on the ANSI/ISO C++ standard, The C++ Programming Language provides current and comprehen...

The Java Programming Language 4th Edition Image

The Java Programming Language 4th Edition

Jun 30 2016 Direct from the creators of the Java programming language, the completely revised fourth edition of The Java Programming Language is an indispensable resource for novice and advanced programmers alike. Developers around the world have used previous editions to quickly gain a deep understanding of the Java programming language, its design goals, and how to use it most effectively in real-world development. Now, Ken Arnold, James Gosling, and David Holmes have updated this classic to reflect the major enhancements in Java 2 Standard Edition 5.0 (J2SE 5.0). The authors systematically cover mos...

The Ruby Programming Language Image

The Ruby Programming Language

Jun 30 2016 The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.why the lucky stiff, artist and Ruby p...

The C# Programming Language Image

The C# Programming Language

Jun 30 2016 C# is the most exciting new language since Java. It is simple, modern, object oriented, and type-safe. It combines the high productivitiy of Rapid Application Development languages such as Visual Basic with the raw power of C++. While the specification is available online, many people find the printed version to be useful, as we have seen with The Java Language Specification and The C++ Annotated Reference Manual. Microsoft Press published the specification for the beta version of C#, and then revised that for version 1.0. The printed books, however, were nothing more than the spec printed out...