mirror of
https://github.com/spf13/viper
synced 2025-05-11 06:37:27 +00:00
doc: discuss concurrency in README
This commit is contained in:
parent
52536944d5
commit
ecd1671938
1 changed files with 3 additions and 0 deletions
|
@ -856,6 +856,9 @@ There has been several attempts to implement case sensitivity, but unfortunately
|
|||
|
||||
You can vote for case sensitivity by filling out this feedback form: https://forms.gle/R6faU74qPRPAzchZ9
|
||||
|
||||
### Is it safe to concurrently read and write to a viper?
|
||||
|
||||
No, you will need to synchronize access to the viper yourself (for example by using the `sync` package). Concurrent reads and writes can cause a panic.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue