Go Design Patterns

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

Go Design Patterns

Mario Castro Contreras

3 customer reviews
Learn idiomatic, efficient, clean, and extensible Go design and concurrency patterns by using TDD
Mapt Subscription
FREE
$40.00/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Go Design Patterns Book Cover
Go Design Patterns
$ 39.99
$ 28.00
Building Microservices with Go Book Cover
Building Microservices with Go
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781786466204
Paperback402 pages

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.

Table of Contents

Chapter 3: Structural Patterns - Composite, Adapter, and Bridge Design Patterns
Chapter 4: Structural Patterns - Proxy, Facade, Decorator, and Flyweight Design Patterns
Chapter 5: Behavioral Patterns - Strategy, Chain of Responsibility, and Command Design Patterns
Chapter 6: Behavioral Patterns - Template, Memento, and Interpreter Design Patterns
Chapter 7: Behavioral Patterns - Visitor, State, Mediator, and Observer Design Patterns
Chapter 9: Concurrency Patterns - Barrier, Future, and Pipeline Design Patterns
Chapter 10: Concurrency Patterns - Workers Pool and Publish/Subscriber Design Patterns

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

Authors

Table of Contents

Chapter 3: Structural Patterns - Composite, Adapter, and Bridge Design Patterns
Chapter 4: Structural Patterns - Proxy, Facade, Decorator, and Flyweight Design Patterns
Chapter 5: Behavioral Patterns - Strategy, Chain of Responsibility, and Command Design Patterns
Chapter 6: Behavioral Patterns - Template, Memento, and Interpreter Design Patterns
Chapter 7: Behavioral Patterns - Visitor, State, Mediator, and Observer Design Patterns
Chapter 9: Concurrency Patterns - Barrier, Future, and Pipeline Design Patterns
Chapter 10: Concurrency Patterns - Workers Pool and Publish/Subscriber Design Patterns

Book Details

ISBN 139781786466204
Paperback402 pages
Read More
From 3 reviews

Read More Reviews

Recommended for You

Building Microservices with Go Book Cover
Building Microservices with Go
$ 35.99
$ 25.20
Go Systems Programming Book Cover
Go Systems Programming
$ 39.99
$ 28.00
Learning Functional Programming in Go Book Cover
Learning Functional Programming in Go
$ 35.99
$ 25.20
Go: Design Patterns for Real-World Projects Book Cover
Go: Design Patterns for Real-World Projects
$ 71.99
$ 50.40
Building RESTful Web services with Go Book Cover
Building RESTful Web services with Go
$ 35.99
$ 25.20
Go Programming Blueprints - Second Edition Book Cover
Go Programming Blueprints - Second Edition
$ 39.99
$ 28.00