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

CodeSignal

Creational Patterns in Go

via CodeSignal

Overview

Creational design patterns are essential for managing object creation mechanisms, promoting flexibility, and enhancing code reuse and robustness. This course will introduce you to the most popular creational design patterns in Go and help you understand the importance of each pattern. You will learn how to implement these patterns in your code and how to choose the right pattern for your project.

Syllabus

  • Lesson 1: Singleton Pattern in Go
    • Understanding Singleton Pattern in Go
    • Add Prefix to Log Messages
    • Fix the Singleton Implementation
    • Singleton Pattern Logging Implementation
    • Implementing Singleton Logger in Go
  • Lesson 2: Introduction to the Factory Method Pattern
    • Running the Factory Method Pattern
    • Add a New Document Type
    • Complete the Instrument Factory Pattern
    • Document Type Creator in Go

Reviews

Start your review of Creational 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.