Fully updated with coverage of web services, TCP/IP, REST APIs, Go Generics, and Fuzzy Testing
Apply your new knowledge to real-world exercises, building high-performance servers and robust command-line utilities, to deepen your learning
Gain clarity on what makes Go different, understand its nuances and features for smoother Go development
Description
Mastering Go, now in its fourth edition, remains the go-to resource for real-world Go development. This comprehensive guide delves into advanced Go concepts, including RESTful servers, and Go memory management. This edition brings new chapters on Go Generics and fuzzy Testing, and an enriched exploration of efficiency and performance. As you work your way through the chapters, you will gain confidence and a deep understanding of advanced Go topics, including concurrency and the operation of the Garbage Collector, using Go with Docker, writing powerful command-line utilities, working with JavaScript Object Notation (JSON) data, and interacting with databases.
You will be engaged in real-world exercises, build network servers, and develop robust command-line utilities. With in-depth chapters on RESTful services, the WebSocket protocol, and Go internals, you are going to master Go's nuances, optimization, and observability. You will also elevate your skills in efficiency, performance, and advanced testing.
With the help of Mastering Go, you will become an expert Go programmer by building Go systems and implementing advanced Go techniques in your projects.
Who is this book for?
Mastering Go is written primarily for Go programmers who have some experience with the language and want to become expert practitioners. You will need to know the basics of computer programming before you get started with this book, but beyond that, anyone can sink their teeth into it.
What you will learn
Learn Go data types, error handling, constants, pointers, and array and slice manipulations through practical exercises
Create generic functions, define data types, explore constraints, and grasp interfaces and reflections
Grasp advanced concepts like packages, modules, functions, and database interaction
Create concurrent RESTful servers, and build TCP/IP clients and servers
Learn testing, profiling, and efficient coding for high-performance applications
Develop an SQLite package, explore Docker integration, and embrace workspaces
Learnt a lot, hopefully will help in our current project
Subscriber review
Allen WymaApr 08, 2024
5
I recently had to use Golang and I was looking to refresh my mind since it's been a few years. I was able to read through this book and it helped me to get a good refreshment of the language and ecosystem since things have changed quite a bit in Golang since I learned it a long time ago.
Amazon Verified review
Jonathan ReevesJul 28, 2024
5
Mastering Go is a one stop shop for being able to learn Go from beginner concepts to advanced and everything in between. If you are looking for an easy to follow and really well written book that will cover all that you need to understand and write Go then look no further. This book is a great resource for Go developers. Whether you are an experienced Go developer or a beginner this book has something in it for you.
Amazon Verified review
Windsänger
5
I recently had the pleasure of diving into "Mastering Go: Fourth Edition" and it has truly been a game-changer for me. First and foremost, a huge thank you to Vipanshu Parashar for providing me with the reviewing copy!This edition of "Mastering Go" delves into advanced topics like 'Fuzz Testing and Observability' and 'Go Generics', which are crucial for anyone looking to take their Go programming skills to the next level. The authors have done an exceptional job of breaking down complex concepts into digestible chunks, making it accessible for both intermediate and experienced developers.What I particularly appreciated about this book is its practical approach. It not only explains theoretical concepts but also provides real-world examples and hands-on exercises, allowing readers to apply what they've learned in a meaningful way.Whether you're looking to enhance your understanding of Go's concurrency model, optimize performance, or explore the latest features like generics, "Mastering Go: Fourth Edition" has got you covered.Overall, I highly recommend this book to anyone serious about mastering Go programming. It's an invaluable resource that will undoubtedly help you become a more proficient Go developer. Five stars without hesitation!
Amazon Verified review
GauravApr 09, 2024
5
Mastering Go, Fourth Edition, is an indispensable resource for any Go programmer looking to deepen their understanding and master advanced topics. This edition covers an array of cutting-edge subjects, including Go Generics and Fuzzy Testing, ensuring it stays relevant in the ever-evolving landscape of Go programming.What sets this edition apart is its comprehensive coverage of crucial topics like concurrency, web services, and testing techniques. From RESTful servers to TCP/IP clients and servers, the book leaves no stone unturned in exploring the nuances of Go development. Additionally, the discussions on efficiency, performance, and observability equip readers with essential skills for optimizing their applications.
Mihalis Tsoukalos holds a BSc in Mathematics from the University of Patras and an MSc in IT from University College London, UK. His books, Go Systems Programming and Mastering Go, have become must-reads for Unix and Linux systems professionals. He enjoys writing technical articles and has written for Sys Admin, MacTech, C/C++ Users Journal, USENIX ;login:, Linux Journal, Linux User and Developer, Linux Format, and Linux Voice. His research interests include time series data mining, time series indexing, and databases.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.