Are you about to start a new exciting career with Go programming language? You found the right book to help you to learn Go!
Why Go Programming Language?
There are many programming languages in use today with different feature sets. You should pick the right programming language for the problem at hand. Some languages are more suitable for specific problems.
If you are looking for a simple and powerful general-purpose programming language, Go would be a great choice.
Salient Features & Facts
- Statically typed
- Garbage collected
- Built-in concurrency
- Very fast compilation
- No classes
- 25 keywords
Go, also commonly referred to as Golang, is a general-purpose programming language. Go was initially developed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. Go was publicly released as a free/open source software in November 2009 by Google. Go is used by many organizations in different problem domains.
Why this Book?
This book is a comprehensive guide to the Go programming language. If you are new to programming, this book is going to be useful for you.
- Book Features
- Easy to follow examples.
- Exercise at the end of chapters.
- Additional exercises with the solution at the end of the book.
- Cover all the major feature of Go.
- Side notes about related topics
Table of Contents
Preparations -- Organizing Code -- Organization of Chapters -- Suggestions to Use This Book
Hello World! -- Building and Running Programs -- The Example Explained -- Basics -- Exercises
3. Control Structures
If -- For -- Switch Cases -- Defer Statements -- Deferred Panic Recover -- Goto -- Exercises
4. Data Structures
Primitive Data Types -- Constants -- Arrays -- Slices -- Maps -- Custom Data Types -- Pointers -- Exercises
5. Functions & Structs
Parameters -- Return Values -- Variadic Functions -- Anonymous Functions -- Function as Value -- Methods -- Exercises
Type with Multiple Interfaces -- Empty Interface -- Pointer Receiver -- Type Assertions -- Type Switches -- Exercises
Goroutine -- Channels -- Waitgroups -- Select -- Buffered Channels-- Channel Direction -- Lazy Initialization Using sync -- Exercises
Creating a Package -- Package Initialization -- Documenting Packages -- Publishing Packages -- Module -- Moving Type Across Packages -- Exercises
Command Line Arguments -- Interactive Input-- Using flag Package -- String Formatting -- Exercises
Failing a Test -- Logging Message -- Failing with Log Message -- Skipping Test -- Parallel Running -- Exercises
Getting Help -- Basic Information -- Building and Running-- Running Test -- Formatting Code-- Displaying Documentation -- Find Suspicious Code Using Vet -- Exercises
Appendix A: Answers
Appendix B: Vim Configuration
About the Author
Baiju Muthukadan is a software engineer based in Bangalore, India. He started his software development career in 2002. His first job was at FSF India. Baiju has contributed to many free/open source software over the last so many years. He wrote his first book related to Python in 2007. Since 2013 he is working on various Go projects. Baiju has been conducting Go related workshops since 2016. Twitter: @baijum
You'll need an account to access this in our app. Please create a password to continue.
Download from the App Store or text yourself a link to the app
Thanks for the purchase! If you can't see the email from Gumroad, please check your Spam folder. If you want a refund for some reason, please contact me at: firstname.lastname@example.org
Good news! Since you already have a Gumroad account, it's also been added to your library.Tweet Share