Closed xpzouying closed 3 years ago
As PR #98 Says, concurrency race panic when running in parallel.
parseFlag() function only need do once, so use sync.Once to do init things.
As PR #98 Says, concurrency race panic when running in parallel.
parseFlag() function only need do once, so use sync.Once to do init things.