Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Structural Patterns in Go

via CodeSignal

Overview

Structural design patterns help manage object composition and relationships, which improves flexibility and system scalability. This course will introduce you to the most common structural patterns and show you how to implement them in Go. By the end of the course, you will be able to apply these patterns to your own projects and write more flexible and maintainable code.

Syllabus

  • Lesson 1: Understanding the Adapter Pattern
    • Change the Adapter Message
    • Complete the Adapter Pattern
    • Complete the Phone Adapter
    • Write a Tuner Adapter in Go
    • Implement Payment Adapter in Go
  • Lesson 2: Diving into the Decorator Pattern
    • Add a New Flavor Decorator
    • Add Caramel Flavor to Coffee
    • Decorate Your Ice Cream
    • Pizza Customization using Decorators
    • Write a Sandwich Decorator
  • Lesson 3: Diving into the Composite Pattern
    • Nested Shopping Carts
    • Add a New Smartwatch Item
    • Add a MobilePhone Item
    • Composite Pattern: Movie Collection
    • Calculating Total Oxygen Production

Reviews

Start your review of Structural Patterns in Go

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.