Resources
The Go Memory Model - The Go Programming Language
The Go Memory Model Version of June 6, 2022 Introduction The Go memory model specifies the conditions under which reads of a variable in one goroutine can be guaranteed to observe values produced by writes to the same variable in a different goroutine.
