Hands-On Dependency Injection in Go
Develop clean Go code that is easier to eead, maintain, and test
Price | $39.99 - $50.02
|
Rating | |
Author | Corey Scott |
Publisher | Packt Publishing |
Published | 2018 |
Pages | 346 |
Language | English |
Format | Paper book / ebook (PDF) |
ISBN-10 | 1789132762 |
ISBN-13 | 9781789132762 |
Hands-On Dependency Injection in Go takes you on a journey, teaching you about refactoring existing code to adopt dependency injection (DI) using various methods available in Go.
Of the six methods introduced in this book, some are conventional, such as constructor or method injection, and some unconventional, such as just-in-time or config injection. Each method is explained in detail, focusing on their strengths and weaknesses, and is followed with a step-by-step example of how to apply it. With plenty of examples, you will learn how to leverage DI to transform code into something simple and flexible. You will also discover how to generate and leverage the dependency graph to spot and eliminate issues. Throughout the book, you will learn to leverage DI in combination with test stubs and mocks to test otherwise tricky or impossible scenarios.
Hands-On Dependency Injection in Go takes a pragmatic approach and focuses heavily on the code, user experience, and how to achieve long-term benefits through incremental changes.
By the end of this book, you will have produced clean code that's easy to test.
- Corey Scott
4 5 14
Similar Books
Hands-On Software Architecture with Golang
by Jyotiswarup Raiturkar
Building software requires careful planning and architectural considerations; Golang was developed with a fresh perspective on building next-generation applications on the cloud with distributed and concurrent computing concerns.Hands-On Software Architecture with Golang starts with a brief introduction to architectural elements, Go, and ...
Price: $49.99 | Publisher: Packt Publishing | Release: 2018
Hands-On Cloud Administration in Azure
by Mustafa Toroman
Azure continues to dominate the public cloud market and grow rapidly thanks to a number of recent innovations. Azure's wide range of services and support has led to a large number of customers switching to Azure cloud.Hands-On Cloud Administration in Azure starts with the basics of Azure cloud fundamentals and key concepts of the clo...
Price: $44.99 | Publisher: Packt Publishing | Release: 2018
by Jack Dougherty, Ilya Ilyankou
Tell your story and show it with data, using free and easy-to-learn tools on the web. This introductory book teaches you how to design interactive charts and customized maps for your website, beginning with simple drag-and-drop tools such as Google Sheets, Datawrapper, and Tableau Public. You'll also gradually learn how to edit open ...
Price: $44.99 | Publisher: O'Reilly Media | Release: 2021
by Hector Cuesta
Plenty of small businesses face big amounts of data but lack the internal skills to support quantitative analysis. Understanding how to harness the power of data analysis using the latest open source technology can lead them to providing better customer service, the visualization of customer needs, or even the ability to obtain fresh insi...
Price: $29.99 | Free ebook | Publisher: Packt Publishing | Release: 2013
Hands-On Linux Administration on Azure
by Frederik Vos
Azure's market share has increased massively and enterprises are adopting it rapidly. Linux is a widely-used operating system and has proven to be one of the most popular workloads on Azure. It has become crucial for Linux administrators and Microsoft professionals to be well versed with the concepts of managing Linux workloads in an...
Price: $44.99 | Publisher: Packt Publishing | Release: 2018
Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial
by Ravi Saraswathi, Jaswant Singh
BPEL, Business Process Execution Language is the definitive standard in writing and defining actions within business processes. Oracle BPEL Process Manager R1 is Oracle's latest offering, providing you with a complete end-to-end platform for the creation, implementation, and management of your BPEL business processes that are so impo...
Price: $32.99 | Publisher: Packt Publishing | Release: 2013
by Mark Summerfield
Today's most exciting new programming language, Go, is designed from the ground up to help you easily leverage all the power of today's multicore hardware. With this guide, pioneering Go programmer Mark Summerfield shows how to write code that takes full advantage of Go's breakthrough features and idioms.Both a tutorial and...
Price: $8.17 | Publisher: Addison-Wesley | Release: 2012
by Kasun Indrasiri, Danesh Kuruppu
Get a comprehensive understanding of gRPC fundamentals through real-world examples. With this practical guide, you'll learn how this high-performance interprocess communication protocol is capable of connecting polyglot services in microservices architecture, while providing a rich framework for defining service contracts and data ty...
Price: $22.99 | Publisher: O'Reilly Media | Release: 2020