We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do you lock mutex for reading in Set... methods?
func (c *Config) SetString(key string, value string) { c.mu.RLock() { c.m[key] = value } c.mu.RUnlock() }
is this copypast?
The text was updated successfully, but these errors were encountered:
That definitely looks like a bug! Thanks for that catch @finalist736
Sorry, something went wrong.
Resolves #49
1ddcf50
Resolves #49 (#50)
42c5048
Successfully merging a pull request may close this issue.
Why do you lock mutex for reading in Set... methods?
is this copypast?
The text was updated successfully, but these errors were encountered: