Golang: Data race difference with Pointer Recevier and Non Pointer Recevier

前端 未结 0 893
轻奢々
轻奢々 2021-01-12 11:50

I found a data race during testing with -race flag. The data race happened on when updating a struct and read value from the struct method. Later I found to cha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题