blog.8-p.info

This is another Go thing I’ve learned at work.

os.Getenv() and os.Setenv() call syscall.Getenv() and syscall.Setenv(). And inside the syscall package, there is a package-scope lock.