An early attempt to rewrite ThresholdCheck with Golang