Session
Giai đoạn 2: Lập trình Go nâng cao & Best Practices
🔵 Giai đoạn 2: Lập trình Go nâng cao & Best Practices
📌 5. Quản lý bộ nhớ & Hiệu suất
Pointer (
&
và*
)Garbage Collection (GC) và quản lý bộ nhớ
Memory Leaks & Profiling (
pprof
)
📌 6. Xử lý lỗi trong Golang
error
&fmt.Errorf
errors.Is()
&errors.As()
Tạo Custom Error Handling
📌 7. Tối ưu Code & Best Practices
Viết code sạch (Clean Code)
Structuring Project theo best practices (DDD, Clean Architecture)
Viết Unit Test & Benchmark với
testing
package
Last updated