Working with Design Patterns in Go (Golang) (Udemy.com)
Streamline your development by learning how common design patterns are implement in Go.
Created by: Trevor Sawler
Last updated June 2024
What you will learn
- How to use common design patterns in Go
- Streamline the software development process by using well known patterns
- Learn how to create loosely coupled software components
- Build a real-world application using design patterns
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100
Course Description
Go is a powerful language for building efficient and scalable applications. But as your projects grow, you'll encounter common problems that can be elegantly solved with design patterns.
This course will equip you with the knowledge and skills to leverage these design patterns effectively in your Go code. We'll explore various categories of patterns, including:
Creational Patterns: Learn techniques for object creation that promote flexibility and decoupling.
Structural Patterns: Discover ways to compose classes and objects to achieve desired functionality.
Behavioral Patterns: Explore patterns that define communication and interaction between objects.
By understanding these patterns, you'll gain the ability to:
Write cleaner, more maintainable, and reusable code.
Improve the design and architecture of your Go applications.
Solve common programming challenges with proven solutions.
Communicate design concepts more effectively with other developers.
We'll approach design patterns with a practical lens, focusing on real-world Go scenarios. In fact, we'll build a simple web application that allows us to see how, why, and when you can use a particular design pattern to make your code more efficient, maintainable, and easy to understand. My goal is ensure that you'll gain hands-on experience implementing these patterns so that you can use them in your own projects.
So, whether you're a seasoned Go developer or just getting started with the language, this course will provide you with valuable tools to take your Go development skills to the next level.
Please note that this course requires you to download Docker Desktop from Docker. If you are a Udemy Business user, please check with your employer before downloading software.
Instructor Details
- 4.4 Rating
354 Reviews
Trevor Sawler
I have twenty years of experience in professional software development, and twenty years of experience as a University professor.
As an entrepreneur, I have worked with a broad range of clients, including Thomson Nelson, Hewlett Packard, the Royal Bank of Canada, Keybank, Sprint, and many, many others. I also have extensive management and project management experience. I have led teams of fifty developers and artists on multi-million dollar projects, and much smaller teams on much smaller projects.
As a professor, I have taught in a wide variety of course areas, including Computer Science, English, Irish, and American literature, and a number of "crossover" courses that bridge the liberal arts and technological fields.
I have won regional, national, and international awards for my work in the IT field, and have also won awards for my teaching and research as a University professor.
More courses by Trevor Sawler
Building Modern Web Applications with Go (Golang) (2022)
4.6 (5,848 Reviews)
Provider: Udemy
Time: 29.6h
$84.99
Working with Microservices in Go (Golang) (2024)
4.6 (3,186 Reviews)
Provider: Udemy
Time: 11.6h
$89.99
Working with Concurrency in Go (Golang) (2024)
4.7 (1,862 Reviews)
Provider: Udemy
Time: 9.7h
$79.99
Building Web Applications with Go - Intermediate Level (2025)
4.8 (597 Reviews)
Provider: Udemy
Time: 18.7h
$84.99
More Software Development courses
Build Web Apps with Nuxt.js 3: Master TypeScript & API [New] (2026)
4.9 (635 Reviews)
Provider: Udemy
Time: 6.7h
$19.99
70+ JavaScript Challenges: Data Structures & Algorithms (2023)
4.8 (748 Reviews)
Provider: Udemy
Time: 12.5h
$19.99
AI Agents Crash Course: Build with Python & OpenAI (2025)
4.8 (652 Reviews)
Provider: Udemy
Time: 3.4h
$19.99
Elasticsearch 9 & Spring Boot: Search Engine Masterclass (2026)
4.8 (225 Reviews)
Provider: Udemy
Time: 14.3h
$19.99
Introduction to AI and Machine Learning with Go (Golang) (2025)
4.8 (133 Reviews)
Provider: Udemy
Time: 36.2h
$19.99
Reviews
By Cornbread Sam on 6/22/2025
Great lesson per usual from Trevor. Although Trevor stated 10 months ago that "those videos are coming" to complete the final Worker Pool Pattern, thus the lesson section is incomplete, which means I must deduce some star value. That said, he did teach everything needed to implement the logic yourself!
By Aaron Burdick on 5/28/2025
I'm not really sure if this should be aimed at medium level web developers, maybe beginner is more appropriate. The patterns themselves are basic. Things like the factory pattern / abstract factory pattern take up a bit too much time, when they could be done in a few lessons. However, for the patterns that are here, the instructor gives great hands-on instructions so I feel like I will come back to these from time to time. If your aim is to learn Go while doing something less trivial than your average introduction to a language, then this is a bit more fun. As I was a Go beginner and the instructor's voice and instructions were clear, I'll give it a 4. With more patterns it would have probably gotten a 4.5 or better. My favorite section was the pool pattern.
By Karthik A on 10/12/2024
maybe something like gin may make the template routing etc simpler (I have some experience with express and it felt so)
By Bruce Botes on 7/17/2024
As usual with Trevor, his experience reveals itself in the simplicity of well designed code to transfer the concepts and principles very clear. The student is not distracted with other 'smart' stuff that looks good initially but the value in understanding is lost in the 'black box'. Thank you Trevor for another good course.
By Evan Mills on 7/4/2024
Overall, I enjoyed this course and received some good practice implementing patterns in Go. For me, the highlights include Dr. Sawler's general demeanor and presentation style which is welcoming, approachable and gives a "don't worry; we're going to get this done together" attitude. You definitely don't have to be a Go expert to follow along with this course. I found the JSON/XML adapters and the database/API repositories very instructional. And, the worker pool section and its integration into the main project helped to drive home concurrency patterns. By way of feedback, my main concern is that so much time was spent on aspects not related to design patterns, particularly in the UI/JavaScript and in configuring ffmpeg. Having a UI as a demonstration is definitely compelling but perhaps a command-line application could result in more time spent on the patterns and less on presentation. And finally, I yearned for a bit more background on the patterns themselves, with more details on when to pick a certain pattern and why. I found these two resources as nice companions: https://refactoring.guru/design-patterns/creational-patterns and https://arshad404.medium.com/s1e3-mastering-concurrency-with-worker-pool-in-golang-a-scalable-solution-for-efficient-task-4d1d41a5b7d5. Despite these points, I would very much recommend this course to anyone interested in exploring design pattern in Go.
By Luz Saavedra on 6/6/2024
The course is decent in the first half, but it doesn't use any good practices. The result is simple, but it's hard to extend and not scalable. The code base is complex for a simple task. I know it's about patterns, but I don't feel like you can grasp all the design patterns the course tries to teach. It just feels weird.
By James McBean on 5/3/2024
Excellent course! Very clear explanations and easy to follow coding steps. Demonstrates using design patterns in Go by building a single project that uses each design pattern.
By Jyotiprokash Banerjee on 4/27/2024
Currently, I'm going through very first section of the course and didn't yet start the design pattern section. But I'm enjoying this part right now. Although the same web application building process was described in his previous Modern Web Application Building course, this time he's explaining the same material in more detail. Let me update the review after completing the course.
By William Tran on 4/8/2024
Trevor always deliver solid content and does a really good job explaining these design patterns developers use that we may not have noticed when working with different paradigms. He applies real world scenarios where these patterns could be applicable. More patterns will be released in this course and will definitely look forward to it.
By Thanh Nguyen on 4/1/2024
I am a long-term student of Dr. Travor Sawler on Udemy.com, I have purchased every single course produced by Dr. Sawler because he is the best instructor on Golang in my experience. I have learned so much from Doctor Sawler and I am sure I will learn much more from this course. Thank you very much for making a course on Design Patterns, the key to a software development career.







![Build Web Apps with Nuxt.js 3: Master TypeScript & API [New]](/programming/software-development/images/6457785_5adc_4.jpg?v=1789443959)




