You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be documented. Is it safe to use by multiple goroutines? Am I expected to use one single instance of Converter with same configuration across my app, or to create new in each case? What's the design, what are performance considerations?
PS: there is sync.RWMutex within Converter struct, so the answer is probably yes, but, again, this should be documented to not guess or reverse engineer.
The text was updated successfully, but these errors were encountered:
This should be documented. Is it safe to use by multiple goroutines? Am I expected to use one single instance of
Converter
with same configuration across my app, or to create new in each case? What's the design, what are performance considerations?PS: there is
sync.RWMutex
withinConverter
struct, so the answer is probably yes, but, again, this should be documented to not guess or reverse engineer.The text was updated successfully, but these errors were encountered: