diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-11-05 10:20:30 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-11-05 10:20:30 +0100 |
commit | b3443b3d0c537c7c82b5df55a0a9d91288d1d56a (patch) | |
tree | 921853e7b687e0e85f05aa27a4a1ecd24702592f /i18n/translationProvider.go | |
parent | c97216e4f0f3021b12cd3803e512393be569c886 (diff) |
Revert "i18n: Prevent data race in lang code handling"
This reverts commit c97216e4f0f3021b12cd3803e512393be569c886.
Diffstat (limited to 'i18n/translationProvider.go')
-rw-r--r-- | i18n/translationProvider.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n/translationProvider.go b/i18n/translationProvider.go index 556ee7a92..663a8dd5e 100644 --- a/i18n/translationProvider.go +++ b/i18n/translationProvider.go @@ -25,7 +25,7 @@ import ( // Unfortunately this needs to be global, see // https://github.com/nicksnyder/go-i18n/issues/82 -var tpMu sync.RWMutex +var tpMu sync.Mutex // TranslationProvider provides translation handling, i.e. loading // of bundles etc. |