#concurrency

Finding data races in a Go AST

It is generally agreed that one of Go’s major selling points is its first class support for concurrency. However, the implicit mutability of structs remains a source of subtle footguns. At $DAYJOB, we were bitten by a data race that had unwittingly made its way into in our backen…