Closed rhaps107 closed 6 years ago
Is there a written rule out there that all packages must be concurrency-safe?
so when using this package, I can't using goroutine?
@gorhill I suppose so else Golang doesn't guarantee anything.
Ref: https://github.com/golang/go/issues/13446#issuecomment-161104226
In parsing, global package variable layoutRegexp is changing. It is map, so usage in multiple gorountines causes map concurrent write error.