to stimulate concurrency, use xargs with -P10
seq 100 | xargs -I$ -P10 go run test.go $ > /tmp/test_concurrency_pg_go.txt
Those clients meet race condition will be seen as
[15 - 1599831949] person: Name 1599831949 ver: 4493 > [14 - 1599831949] person: ver: 0
> [15 - 1599831949] person: Name 1599831949 ver: 4494