Book description
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 online: 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.
Table of contents
- Cover Page
- About This E-Book
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- Hour 1. Getting Started
- Hour 2. Understanding Types
- Hour 3. Understanding Variables
- Hour 4. Using Functions in Go
- Hour 5. Using Control Flow
- Hour 6. Working with Arrays, Slices, and Maps
- Hour 7. Using Structs and Pointers
- Hour 8. Creating Methods and Interfaces
- Hour 9. Working with Strings
- Hour 10. Handling Errors
- Hour 11. Working with Goroutines
- Hour 12. Introducing Channels
- Hour 13. Using Packages for Code Reuse
- Hour 14. Naming Conventions in Go
- Hour 15. Testing and Performance
- Hour 16. Debugging
- Hour 17. Using Command-Line Programs
- Hour 18. Creating HTTP Servers
- Hour 19. Creating HTTP Clients with Go
- Hour 20. Working with JSON
- Hour 21. Working with Files
- Hour 22. Introducing Regular Expressions
- Hour 23. Programming Time in Go
- Hour 24. Deploying Go Code
- Index
- Hour 25. Creating a RESTful JSON API
- Hour 26. Creating a TCP Chat Server
- Code Snippets
Product information
- Title: Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang, First Edition
- Author(s):
- Release date: December 2017
- Publisher(s): Sams
- ISBN: 9780134771922
You might also like
book
Hands-On System Programming with Go
Explore the fundamentals of systems programming starting from kernel API and filesystem to network programming and …
video
Ultimate Go Programming, Second Edition
An updated edition of this video title is available. Please go to Ultimate Go: Advanced Concepts …
book
Pro Go: The Complete Guide to Programming Reliable and Efficient Software Using Golang
Best-selling author Adam Freeman explains how to get the most from Go, starting from the basics …
video
Up and Running with Concurrency in Go (Golang)
According to the most recent developer surveys, Go(lang) is one of the world’s most desired and …