Go Design Patterns
eBook - ePub

Go Design Patterns

  1. 402 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Go Design Patterns

About this book

Learn idiomatic, efficient, clean, and extensible Go design and concurrency patterns by using TDD

Key Features

  • [*]A highly practical guide filled with numerous examples unleashing the power of design patterns with Go.
  • [*]Discover an introduction of the CSP concurrency model by explaining GoRoutines and channels.
  • [*]Get a full explanation, including comprehensive text and examples, of all known GoF design patterns in Go.

Book Description

Go is a multi-paradigm programming language that has built-in facilities to create concurrent applications. Design patterns allow developers to efficiently address common problems faced during developing applications. Go Design Patterns will provide readers with a reference point to software design patterns and CSP concurrency design patterns to help them build applications in a more idiomatic, robust, and convenient way in Go. The book starts with a brief introduction to Go programming essentials and quickly moves on to explain the idea behind the creation of design patterns and how they appeared in the 90's as a common "language" between developers to solve common tasks in object-oriented programming languages. You will then learn how to apply the 23 Gang of Four (GoF) design patterns in Go and also learn about CSP concurrency patterns, the "killer feature" in Go that has helped Google develop software to maintain thousands of servers. With all of this the book will enable you to understand and apply design patterns in an idiomatic way that will produce concise, readable, and maintainable software.

What you will learn

  • [*]All basic syntax and tools needed to start coding in Go
  • [*]Encapsulate the creation of complex objects in an idiomatic way in Go
  • [*]Create unique instances that cannot be duplicated within a program
  • [*]Understand the importance of object encapsulation to provide clarity and maintainability
  • [*]Prepare cost-effective actions so that different parts of the program aren't affected by expensive tasks
  • [*]Deal with channels and GoRoutines within the Go context to build concurrent application in Go in an idiomatic way

Who this book is for

The target audience is both beginner- and advanced-level developers in the Go programming language. No knowledge of design patterns is expected.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Go Design Patterns by Mario Castro Contreras in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Engineering. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Go Design Patterns