Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Go Programming - From Beginner to Professional: Learn everything you need to build modern software using Go
Purchase options and add-ons
Harness the power of Go through hands-on coding examples, covering basic to advanced topics like modules, database interfacing, RESTful APIs, concurrency, and beyond
Key Features- Leverage Go's standard library through practical examples and simplify development tasks using best practices
- Master effective idiomatic Go syntax, including variables, functions, and loops, to handle data
- Build fully functional web applications with capabilities such as database connectivity and RESTful API creation
- Purchase of the print or Kindle book includes a free PDF eBook
Go Programming - From Beginner to Professional is a comprehensive guide that takes your proficiency in the Go programming language from novice to expert. Starting with fundamental concepts, this book covers variables, command-line tools, and working with data before delving into advanced concepts, including error handling, interfaces, and generics, harnessing Go's latest features through hands-on exercises. Along the way, you'll learn to structure projects using Go modules, manage packages effectively, and master debugging techniques.
As you progress, you'll get to grips with practical application-centric aspects such as command-line programming, file manipulation, and working with SQL databases. Additionally, the book explores web server development, RESTful APIs, and utilizing the Go HTTP client to interact with web applications. Further enhancing your Go skills, you'll learn concurrent programming, testing methodologies, Go tools, and how to deploy applications in the cloud. Throughout the book, you'll uncover Go's hidden gems and gain insights into time manipulation, best practices, and more.
By the end of this book, you'll have worked through practical exercises and activities that'll equip you with the knowledge and skills needed to excel as a proficient Go developer, primed for success in real-world projects.
What you will learn- Understand the Go syntax and apply it proficiently to handle data and write functions
- Debug your Go code to troubleshoot development problems
- Safely handle errors and recover from panics
- Implement polymorphism using interfaces and gain insight into generics
- Work with files and connect to popular external databases
- Create an HTTP client and server and work with a RESTful web API
- Use concurrency to design efficient software
- Use Go tools to simplify development and improve your code
Designed for both complete beginners in Go as well as professionals transitioning from another programming language, this book equips developers with skills needed to build real-world projects and launch their career in Go. With a step-by-step approach, beginners can grasp Go fundamentals even without prior programming experience, and gradually advance to idiomatic Go best practices, exploring the latest features of the language.
Table of Contents- Very Valuable Variables
- Command and Control
- Data Rules!
- Get It Together with Complex Types
- Reduce, Reuse, Recycle
- Don't Panic! Handle Your Errors
- Get Flexible with Interfaces
- Generic Algorithm Superpowers
- Use Go Modules to Define a Project
- Packages Keep Projects Manageable
- Bug Busting Debugging Skills
- About Time
- Programming for the Command-Line
- Files and Systems
- SQL and Databases
- Web Servers
- Using the Go HTTP Client
- Concurrent Work
- Testing
- Using Go Tools
- Go in the Cloud
- ISBN-101803243058
- ISBN-13978-1803243054
- Edition2nd ed.
- Publication dateMarch 29, 2024
- LanguageEnglish
- Dimensions7.5 x 1.54 x 9.25 inches
- Print length680 pages
Frequently bought together

Customers who viewed this item also viewed
Learning Go: An Idiomatic Approach to Real-World Go ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Jun 13Only 6 left in stock (more on the way).
Mastering Go: Leverage Go's expertise for advanced utilities, empowering you to develop professional softwarePaperbackFREE Shipping by AmazonGet it as soon as Saturday, Jun 13Only 3 left in stock - order soon.
Go by Example: Programmer's guide to idiomatic and testable codePaperbackFREE Shipping by AmazonGet it as soon as Saturday, Jun 13Only 15 left in stock (more on the way).
Go Programming Language, The (Addison-Wesley Professional Computing Series)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Jun 13
100 Go Mistakes and How to Avoid ThemPaperback$3.99 shippingGet it Jun 29 - Jul 2Usually ships within 9 to 10 days
Head First GoPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Jun 14Only 6 left in stock (more on the way).
Customers also bought or read
- Mastering Go: Leverage Go's expertise for advanced utilities, empowering you to develop professional software
Paperback$39.99$39.99FREE delivery Sat, Jun 13 - System Programming Essentials with Go: System calls, networking, efficiency, and security practices with practical projects in Golang
Paperback$27.36$27.36Delivery Sat, Jun 13 - Go Programming Language, The (Addison-Wesley Professional Computing Series)
Paperback$30.95$30.95Delivery Sat, Jun 13 - Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Paperback$33.26$33.26Delivery Sat, Jun 13 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sat, Jun 13 - Functional Programming in Go: Apply functional techniques in Golang to improve the testability, readability, and security of your code
Paperback$41.99$41.99FREE delivery Sat, Jun 13 - Building Modern CLI Applications in Go: Develop next-level CLIs to improve user experience, increase platform usage, and maximize production
Paperback$44.99$44.99FREE delivery Sat, Jun 13 - Modern REST API Development in Go: Design performant, secure, and observable web APIs using Go's powerful standard library
Paperback$38.24$38.24FREE delivery Sat, Jun 13 - The Rust Programming Handbook: An end-to-end guide to mastering Rust fundamentals
Paperback$44.99$44.99FREE delivery Sat, Jun 13 - Coding Interview Patterns: Nail Your Next Coding Interview
Paperback$40.00$40.00FREE delivery Sat, Jun 13 - JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
Paperback$28.99$28.99Delivery Sat, Jun 13 - Go Recipes for Developers: Top techniques and practical solutions for real-life Go programming problems
Paperback$39.99$39.99FREE delivery Sat, Jun 13 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Sat, Jun 13 - Hands-on Rust: Effective Learning through 2D Game Development and Play
Paperback$46.14$46.14FREE delivery Sat, Jun 13 - Learn Python Programming: A comprehensive, up-to-date, and definitive guide to learning Python
Paperback$39.99$39.99FREE delivery Sat, Jun 13 - Malware Development for Ethical Hackers: Learn how to develop various types of malware to strengthen cybersecurity
Paperback$47.99$47.99FREE delivery Sat, Jun 13 - 50 Algorithms Every Programmer Should Know: Tackle computer science challenges with classic to modern algorithms in machine learning, software design, data systems, and cryptography
Paperback$35.55$35.55FREE delivery Sat, Jun 13 - Effective C, 2nd Edition: An Introduction to Professional C Programming
Paperback$27.88$27.88Delivery Sat, Jun 13 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$50.99$50.99FREE delivery Sat, Jun 13 - gRPC Go for Professionals: Implement, test, and deploy production-grade microservices
Paperback$41.24$41.24FREE delivery Sat, Jun 13 - Concurrency in Go: Tools and Techniques for Developers
Paperback$39.68$39.68FREE delivery Sat, Jun 13 - C# 13 and .NET 9 – Modern Cross-Platform Development Fundamentals: Start building websites and services with ASP.NET Core 9, Blazor, and EF Core 9
Paperback$53.25$53.25FREE delivery Sat, Jun 13 - React Key Concepts: An in-depth guide to React's core features
Paperback$23.71$23.71Delivery Sat, Jun 13 - Programming Backend with Go: Build robust and scalable backends for your applications using the efficient and powerful tools of the Go ecosystem
Paperback$34.99$34.99Delivery Sat, Jun 13
From the brand
-
See more at our store
-
Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.
Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.
We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.
From the Publisher
From the Preface:
In the book Go Programming - From Beginner to Professional, you will learn everything you need to build modern software utilizing Go. Designed for beginners with no prior programming experience required, it offers a comprehensive approach to understanding and leveraging Go's power and idiomatic nature.
The best way to learn is by doing. You will do exactly that in this book. Go Programming – From Beginner to Professional will take you on an engaging step-by-step journey to understanding Go starting with the fundamentals. Each chapter includes exciting exercises and activities that you can do at your own pace or jump ahead to.
As you continue reading, you will work your way to more advanced topics where you will discover how to harness Go's efficiency, simplicity, and concurrency to build robust and scalable software solutions. Learning at your own terms and pace, you will build up and reinforce key skills in a way that feels rewarding to you as you grow as a Go developer.
This book will highlight the latest features of Go 1.21 and onward, ensuring you're up-to-date with the cutting-edge capabilities of this versatile language as you grow your skills. You will build and iterate on your code like a Go Gopher does, learning along the way.
Join in on this exciting adventure as we unlock the full potential of Go and empower you to become a proficient Go developer. Whether you are building web applications, microservices, or tackling general software challenges and want to leverage Go, this book equips you with the knowledge and skills to succeed. Let us dive in and elevate your programming journey with Go.
Editorial Reviews
About the Author
Product details
- Publisher : Packt Publishing
- Publication date : March 29, 2024
- Edition : 2nd ed.
- Language : English
- Print length : 680 pages
- ISBN-10 : 1803243058
- ISBN-13 : 978-1803243054
- Item Weight : 2.53 pounds
- Dimensions : 7.5 x 1.54 x 9.25 inches
- Best Sellers Rank: #518,838 in Books (See Top 100 in Books)
- #98 in Software Design Tools
- #307 in Computer Programming Languages
- #317 in Introductory & Beginning Programming
- Customer Reviews:
About the author

Samantha Coyle is a highly accomplished Software Engineer, public speaker, and author at Diagrid. Her engineering expertise specializes in Go, with a focus on empowering cloud-native developer tooling to effectively abstract application development challenges, and facilitate the creation of high-scale modern applications using Open Source technology. Committed to the Open Source community, Samantha actively contributes to multiple projects, notably fulfilling the most-requested feature in Dapr v1.12 and earning the first Testcontainers for Go Community Champion accolade for her project involvement and contributions. In addition to her technical leadership, Samantha boasts the Engineering Culture Capture hat in her current role.
With a rich history in developing retail computer vision-based solutions, Samantha successfully stabilized Go microservices for industrial edge use through rigorous testing and diverse deployments, particularly for biopharma ML data-processing pipelines. Her contributions in this area were recognized with the Intel Division Recognition Award, acknowledging her team’s efforts in breaking barriers for novice AI developers in the biopharma domain - AI Connect for Scientific Data. As a 2023 Society of Women Engineers(SWE) Rising Technical Contributor award recipient, her expertise extends to being CKAD certified, reviewing Go textbooks, and publishing her very own technical textbook at the end of March 2024.
Samantha's professional journey extends beyond technical accomplishments. She is deeply passionate about empowering early-career, diverse professionals, serving as an Industry Advisor for Texas State University’s SWE chapter. As a 2020 Computer-Science alumni, she played a pivotal role in creating their SWE Mentorship Program, and promoting SWE awareness on campus. Additionally, Samantha regularly provides guidance and support to students from her alma mater and other institutions.
Passionate about fostering inclusivity and diversity in tech, Samantha actively engages with the broader Go community. She has been a key contributor to GopherCon, chairing the conference review board and the European GopherCon Diversity, Equity, and Inclusion (DE&I) board. Being apart of a family of Gophers, Samantha enjoys attending GopherCon with her brother and identical twin sister. She also organizes the Women Who Go MeetUp at the conference and leads a local technical MeetUp group focused on diversity and inclusion in the Go community.
Samantha is a seasoned speaker, having presented at various conferences, including GopherCon, Grace Hopper Conference, Open Source Summit, Women Who Code, etc. Her contributions to engineering culture and technical leadership are underscored by her role as a speaker and advocate for diversity and inclusion in technical forums globally.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
- 5 out of 5 stars
Well written and very useful
Reviewed in the United States on December 28, 2024I needed to learn Go quickly for my job and this book made it easy. With an easy-to-read style and clear sections, I am very pleased with this resource.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great programming book
Reviewed in the United States on July 24, 2024This is probably the best coding book that I've bought. I love the way it's laid out, the activities and exercises. I'm busy working my easy through it now and I'm working hard to really learn the material. I highly recommend this book!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Mistakes in book
Reviewed in the United States on May 19, 2025Lots of errors/mistakes in the book. Chapter on Modules comes before chapter on packages, though the text in the chapter indicates it should come after. Chapter on functions doesn't really cover receivers. The calculation for overtime in the example code is just wrong.
Chapter on modules - some examples don't work.
There is good stuff in the book, but also errors and inconsistencies.
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
something for everyone!
Reviewed in the United States on May 31, 2024This book covers a wide range of topics surrounding Go, from the very basics of syntax and control flow, up to real world scenarios which contain different solutions for approaching the same problem. If you're already familiar with Go, there's still lots of good material here - just skip the beginning. If you're new to Go or even relatively new to programming, this book gently eases you in with thorough explanations of the basics, and it holds your attention by using interesting problems instead of context-less exercises. Highly recommend!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Good book
Reviewed in the United States on May 16, 2024Go Programming - Beginner to Professional" by Samantha Coyle is an outstanding resource for mastering Go programming. Here’s why:
1.Starts with the basics and progresses to advanced topics, ensuring a solid foundation and smooth transition.
2.Includes hands-on exercises and projects at the end of each chapter to reinforce learning.
3. Author's clear explanations and engaging style make complex topics accessible and enjoyable to read.
Pros:
Well-structured for all levels
Clear, practical examples
Effective hands-on exercises
Accessible writing style
Conclusion: Whether you're new to programming or experienced in other languages, this book is an excellent guide to becoming proficient in Go. Highly recommended!
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Highly recommended!
Reviewed in the United States on May 17, 2024I'm so impressed with this book—it's incredibly comprehensive, taking you from beginner to professional. It starts with the basics and progresses to creating HTTP services and command line interfaces, two very common uses of Golang. The numerous examples reinforce your understanding of each topic, making the learning curve much easier to manage. This book stands out not only because it uses the latest version of Golang, but also because Samantha has broken down each topic in a way that's easy to digest. If you're looking for one book to learn Golang, I highly recommend this one!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Transform novice gophers into professionals through idiomatic Go with examples!
Reviewed in the United States on May 20, 2024I highly recommend this book to anyone trying to learn more about Go or even just as a refresher. It covers the basics at detail before covering more advanced topics that are super relevant when it comes to professional Go development. Specifically, I love the book coverage on testing and monitoring Go applications running in the cloud. Additionally, it goes over best practices, and provides great examples to reinforce learnings. So far this is a great read!
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Learn Go!
Reviewed in the United States on May 9, 2024Need to learn Go? Need to upskill your Go-fu capabilities? And of course, we are talking about the Go programming language and not the antique game from China. This is a comprehensive book covering all aspects of GO programming. Highlights some of the challenges, suggests tips and tricks, and offers sample. Recommend as a reference for anyone working on Go applications, or just in need of a tuneup. This will seem like a long book (600+ pages) but much of that space is taken up by the extensive coding samples.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Cliente Amazon5 out of 5 starsMuy buen libro
Reviewed in Spain on December 3, 2024Recomendable
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Cliente Amazon5 out of 5 starsAmazing book!
Reviewed in Germany on July 23, 2024Extremely well written. Starts with very basic language concepts and gets deep on Go as you keep reading. 10 of 10!
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Morgan2 out of 5 starsBadly needs a better editor and proof readers
Reviewed in France on November 20, 2024I was very disappointed with this book. In the first 10 pages I found 7 mistakes. How on earth the majority of these were missed in the editing stage and by both technical reviewers baffles me. Honestly the most stupid of mistakes like UFT-8 rather than UTF-8 right from the start is not a good first impression.
I got 180 pages into the book when I just could not handle any more of the mistakes; not just the writing but the code examples. It is an exercise in frustration having to fix the authors mistakes. At first I thought I was making mistakes but no, the code is just wrong and doesn't compile. This is not a good way to learn as a beginner to the language. Had I not come from other languages I would be extremely confused as while a reader can forgive/understand some typos in the text it is not acceptable for the code examples in a programming book to be wrong. That is literally the most fundamental part of the book to get wrong.
For a second edition it makes me feel like neither of the reviewers actually read the book and the editor must have been on holiday so just okayed it between drinks on the beach. Whatever happened it is clear that while the author clearly tried to put out a good book nobody else seems to have been much help in fixing her mistakes and improve her often quite clumsy explanations.
Also whoever was in charge of the books layout should be replaced. Their decision to break up blocks of code with a single sentence is almost criminal. I don't know if that was the authors choice (I hope not) or done in editing but if they ever do a third edition the book needs a total redesign with regards to how it presents code blocks.
I cannot stress enough to anyone thinking of picking up this book to NOT get it; rather I highly recommend Learning Go by Jon Bodner if you're a beginner to programming learning Go as your first [compiled] language, or if you're coming from another language such as JavaScript or Python to maybe get The Go Programming Language by Donovan and Kernighan.
I requested a return and refund from Amazon which they promptly did so kudos to Amazon for handling that well.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Nicolas Damgaard Larsen3 out of 5 starsStill not quite there yet
Reviewed in Germany on August 29, 2024Admittedly, Samantha Coyle has done a reasonable job of trying to condense most of the intricacies Go into a massive slab of a book, it is no small feat. I also admit, it was somewhat beneficial for me as a recap of the language having not used it since late 2018 but I honestly cannot say for sure that I could not have achieved the same using the official documentation. My main gripes with the book are that for a second edition, it feels very rushed and unfinished, due to the following reasons:
* there away too many typography related errors which should have been caught during the editing process. On many occasions, these errors makes the content difficult to make sense of as the code examples becomes senseless and non-functional.
* there is a significant lack of coherence and consistency through the book and between the chapters as on several occasions references are being made to points in previous chapters that do not exist.
* some chapters reiterate points and content from chapters which are not necessarily needed for the current chapter
* there are many code "exercises" which are you are meant to copy, paste and run as teaching moment and too few actual coding exercises, or "activities". Personally I would have preferred more actual coding exercises and ideally the continued development of a product, expanding functionality as we progress through the book. Through, I do realize creating really good code examples and exercises are very difficult, Martin Fowler has admitted as much himself.
* the "professional" Section of the book is a bit superficial and I personally would expect my professional colleagues, even junior ones, to have deeper understanding of the topics in this section than what is covered here.
If the issues mentioned above had not been present and had the book been named something similar to "Foundational Go", it would have been a 5 star review instead.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
AndFran5 out of 5 starsGreat book
Reviewed in Spain on May 27, 2024Some packt publishing books can be a bit hit and miss sometimes, but this one is really well layed out. Its seems to cover everything from the basics to more advanced concepts. I really like this book. Its probably not for someone who has never programmed before but if you already know how to program and need to pick the GO language then this is a great book.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again













