Go Once
Jump to navigation
Jump to search
Internal
Overview
Once
is a Go synchronization construct that is used when a piece of code must be executed only once. This is a useful idiom in initialization.
Once
is a Go synchronization construct that is used when a piece of code must be executed only once. This is a useful idiom in initialization.