Jump to ratings and reviews
Rate this book

Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang

Rate this book
In just 24 sessions of one hour or less, Sams Teach Yourself Go in 24 Hours will help new and experienced programmers build software that’s simpler, more reliable, and far more scalable. This book’s straightforward, step-by-step approach guides you from setting up your environment through testing and deploying powerful solutions. Using practical examples, expert Go developer George Ornbo walks you through Go’s fundamental constructs, demonstrates its breakthrough features for concurrent and network programming, and illuminates Go’s powerful new idioms. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success. Step-by-step instructions carefully walk you through the most common Go programming tasks and techniques Quizzes and exercises help you test your knowledge and stretch your skills Practical, hands-on examples show you how to apply what you learn Notes and Tips point out shortcuts, solutions, and problems to avoid Two bonus chapters available Hour 25, “Creating a RESTful JSON API,” and Hour 26 “Creating a TCP Chat Server” Learn how to... · Get productive quickly with Go development tools and web servers · Master core features, including strings, functions, structs, and methods · Work with types, variables, functions, and control structures · Make the most of Go’s arrays, slices, and maps · Write powerful concurrent software with Goroutines and channels · Handle program errors smoothly · Promote code reuse with packages · Master Go’s unique idioms for highly effective coding · Use regular expressions and time/date functions · Test and benchmark Go code · Write basic command-line programs, HTTP servers, and HTTP clients · Efficiently move Go code into production · Build basic TCP chat servers and JSON APIs Register your book at informit.com/register for convenient access to the two bonus chapters online, downloads, updates, and/or corrections as they become available.

368 pages, Paperback

Published December 8, 2017

14 people are currently reading
31 people want to read

About the author

George Ornbo

4 books3 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
7 (28%)
4 stars
11 (44%)
3 stars
6 (24%)
2 stars
0 (0%)
1 star
1 (4%)
Displaying 1 - 8 of 8 reviews
Profile Image for BCS.
218 reviews32 followers
May 3, 2018
The Go programming language is a relatively new language born out of its creators’ frustration with the complexity of other systems programming languages, such as C++, and initially released in 2009. Since then, Go has gathered significant support, with important developments, such as Docker and Kubernetes being written in Go.

This book is an introduction to programming using Go, aimed at programmers at beginner or intermediate level. Like other books in the series, the book is divided into 24 chapters, each representing a hypothetical hour’s worth of learning. Registering the book gives access to two additional chapters that are available for download from the book’s website.

The content is broadly structured into two parts, with the first concentrating on the Go language itself while the second half is concerned with pragmatic aspects of using the language.

Early chapters describe how to obtain and install a Go environment as well as overviewing the available development tools and IDEs. The book quickly begins to acquaint the reader with Go code by introducing Go’s implementation of common programming language features such as program structure, flow control, types, structures and pointers, variables and scope, functions and exception handling. The content then focuses on key features of Go itself, including polymorphism through methods and interfaces and concurrency and synchronisation though goroutines and channels.

The second half of the book concentrates on practical aspects of using the Go language. In these chapters, the reader is introduced to Go’s module system and aspects of idiomatic Go as well as approaches to testing and debugging Go programs. There are also chapters which describe the use of Go and its libraries in developing components of web applications and performing related tasks such as processing JSON and text data.

The book is fast-paced, well written and very readable. Each chapter is structured with an introductory section outlining the chapter’s learning objectives, the chapter content itself, and a summary. Chapters contain numerous code examples, and include short ‘Q&A’ sections, quiz questions and exercises in order to help reinforce and extend learning.

The emphasis is very much on hands-on learning, with the reader being encouraged to try and experiment with short code samples. Code examples are brief enough to be quickly typed in, but they are also available for download from the book’s website.

This a great introduction to Go which can easily be read in its entirety but will also serve as a useful reference book.

Review by Dr Patrick Hill CEng MBCS CITP
Originally published: https://www.bcs.org/content/conWebDoc...
Profile Image for Mireille Raad.
22 reviews15 followers
Read
August 16, 2019
It is a good book. It does not take 24 hours. It is more like 30 minutes per chapter or less. You should be done in 3 hours or so.

There is a solid introduction to the language. It covers enough ground with the usual examples you see in every "teach-yourself-a-coding-language-in-24 hours", it even includes how to work with json, create httpservers and bundle things up in a container.

I was doing golang coding of course without reading any manuals. I needed to step back and figure out why I was stuck. This helped.

Oh, don't buy this book solo, go get yourself a safaribooksonline subscription :) I found the book there.
Profile Image for Sébastien Combéfis.
Author 7 books2 followers
December 31, 2025
Ce livre est facile à prendre en main et m'a permis de rapidement comprendre le Go et à apprendre à programmer avec ce langage de programmation concurrent. Les chapitres s'enchaînent pour vous apprendre progressivement les bases puis les constructions spécifiques au Go. En suivant le livre, j'ai pu rapidement devenir un débutant d'un bon niveau en Go.
32 reviews
March 18, 2018
Bagus untuk pengenalan awal. Hanya cukup sampai bisa scripting dan membuat perangkat lunak yang tidak kompleks. Tidak sesuai judul, empat atau enam jam fokus cukup untuk menyelesaikannya (plus latihan coding).
Profile Image for Katherine.
149 reviews
July 22, 2018
It has a lot of examples. You will have to google while reading this because golint command changed, and a few other packages changed.

The book provides a lot of information for beginners. I appreciate the last few chapters the most.
Profile Image for Matthew.
124 reviews14 followers
February 28, 2019
This is a great introduction for beginners. The author doesn't assume any prior knowledge of programming languages, and I would have preferred something more advanced. But that's fine. It's a solid introductory text with numerous code examples.
8 reviews
December 23, 2023
This book is meh in its content and needs serious refreshing. Avoid it if you truly want to learn Go.

• Code examples have error, making it harder to follow

End up having to go online to find the actual code
Profile Image for Calin Diacon.
2 reviews
December 7, 2018
It's not 24hours but days and that is great because the book is awesome, recommended!
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.