Glossary: Software Design Patterns in Go
Goroutine
Also written: goroutines
A function running concurrently with others in Go. They matter for singletons because `sync.Once` keeps a singleton safe even when several goroutines ask for it at once.
Glossary: Software Design Patterns in Go
Also written: goroutines
A function running concurrently with others in Go. They matter for singletons because `sync.Once` keeps a singleton safe even when several goroutines ask for it at once.