Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Design Patterns in Go

Design Patterns trong Go

Design Patterns trong Go

Khám phá cách triển khai hiện đại của các mẫu thiết kế trong Go (golang)

4.6
(2,219 đánh giá)
19,377 học viên
Giảng viên
Dmitri Nesteruk
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 369.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
110 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Nhận biết và áp dụng các mẫu thiết kế
Tái cấu trúc thiết kế hiện có để sử dụng các mẫu thiết kế
Lý giải về tính ứng dụng và khả năng sử dụng của các mẫu thiết kế

Yêu cầu

Hiểu biết tốt về Go
Quen thuộc với các tính năng mới nhất của ngôn ngữ Go
Hiểu biết tốt về các nguyên tắc thiết kế phần mềm
Máy tính có trình biên dịch Go mới nhất và (hy vọng) một IDE

Đối tượng phù hợp

Kỹ sư phần mềm
Lập trình viên web
Nhà thiết kế
Kiến trúc sư

Nội dung khóa học

25 phần • 110 bài giảng
1 Giới thiệu
1 Tổng quan
2 Nguyên tắc Trách nhiệm Đơn nhất
3 Nguyên tắc Đóng-Mở
4 Nguyên tắc Thay thế Liskov
5 Nguyên tắc Phân tách Giao diện
6 Nguyên tắc Đảo ngược Phụ thuộc
7 Tổng kết
1 Tổng quan
2 Builder
3 Builder Facets
4 Builder Parameter
5 Functional Builder
6 Tổng kết
1 Tổng quan
2 Factory Function
3 Interface Factory
4 Factory Generator
5 Prototype Factory
6 Tổng kết
1 Tổng quan
2 Sao chép sâu (Deep Copying)
3 Phương thức Sao chép
4 Sao chép qua Tuần tự hóa
5 Prototype Factory
6 Tổng kết
1 Tổng quan
2 Singleton
3 Vấn đề với Singleton
4 Singleton và Đảo ngược Phụ thuộc
5 Tổng kết
1 Tổng quan
2 Adapter
3 Adapter Caching
4 Tổng kết
1 Tổng quan
2 Bridge
3 Tổng kết
1 Tổng quan
2 Hình học
3 Mạng nơ-ron
4 Tổng kết
1 Tổng quan
2 Tổng hợp nhiều lớp (Multiple Aggregation)
3 Decorator
4 Tổng kết
1 Tổng quan
2 Façade
3 Tổng kết
1 Tổng quan
2 Định dạng Văn bản
3 Tên người dùng
4 Tổng kết
1 Tổng quan
2 Protection Proxy
3 Virtual Proxy
4 Proxy vs Decorator
5 Tổng kết
1 Tổng quan
2 Chuỗi phương thức (Method Chain)
3 Tách biệt Lệnh và Truy vấn
4 Broker Chain
5 Tổng kết
1 Tổng quan
2 Command
3 Hoàn tác thao tác
4 Composite Command
5 Functional Command
6 Tổng kết
1 Tổng quan
2 Phân tích từ vựng (Lexing)
3 Phân tích cú pháp (Parsing)
4 Tổng kết
1 Tổng quan
2 Vòng lặp (Iteration)
3 Duyệt cây (Tree Traversal)
4 Tổng kết
1 Tổng quan
2 Phòng chat
3 Tổng kết
1 Tổng quan
2 Memento
3 Hoàn tác và Làm lại
4 Memento vs Flyweight
5 Tổng kết
1 Tổng quan
2 Observer và Observable
3 Quan sát thuộc tính
4 Phụ thuộc thuộc tính
5 Tổng kết
1 Tổng quan
2 Triển khai cổ điển
3 Máy trạng thái tự tạo
4 Máy trạng thái dựa trên Switch
5 Tổng kết
1 Tổng quan
2 Strategy
3 Tổng kết
1 Tổng quan
2 Template Method
3 Functional Template Method
4 Tổng kết
1 Tổng quan
2 Intrusive Visitor
3 Reflective Visitor
4 Điều phối (Dispatch)
5 Visitor cổ điển
6 Tổng kết
1 Tổng kết khóa học
2 Kết thúc khóa học

Giới thiệu khóa học

Course Overview

This course provides a comprehensive overview of Design Patterns in Go from a practical perspective. This course in particular covers patterns with the use of:

  • The latest versions of the Go programming language

  • Use of modern programming libraries and frameworks

  • Use of modern developer tools such as JetBrains GoLand

  • Discussions of pattern variations and alternative approaches

This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language.

What are Design Patterns?

Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym).

The original book GoF book used C++ and Smalltalk for its examples, but, since then, design patterns have been adapted to every programming language imaginable: C#, Java, Swift, Python, JavaScript and now — Go!

The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don't realize they are there.

What Patterns Does This Course Cover?

This course covers all the GoF design patterns. In fact, here's the full list of what is covered:

  • SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle

  • Creational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and Singleton

  • Structrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and Proxy

  • Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method and Visitor

Who Is the Course For?

This course is for Go developers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way. For example, the use of the Composite pattern allows structures to be iterable and lets scalar objects masquerade as if they were collections.

Presentation Style

This course is presented as a (very large) series of live demonstrations being done in JetBrains GoLand and presented using the Kinetica rendering engine. Kinetica removes the visual clutter of the IDE, making you focus on code, which is rendered perfectly, whether you are watching the course on a big screen or a mobile phone. 

Most demos are single-file, so you can download the file attached to the lesson and run it in GoLand, or another IDE of your choice (or just run them from the command-line).

This course does not use UML class diagrams; all of demos are done via live coding.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Design Patterns
Hiển thị tất cả khoá học Go Programming
Hiển thị tất cả khoá học Object Oriented Design
Hiển thị tất cả khoá học Software Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊