The Optional Singleton Pattern in Go (Episode 9)

preview_player
Показать описание

This screencast explains what the optional singleton pattern is in Go and why it's useful for package authors. It also shows a package that uses this pattern, and how code that uses the package is made simpler by the pattern.

Рекомендации по теме