mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
fix lint
This commit is contained in:
parent
ca47e757bc
commit
7533ee4423
@ -118,6 +118,7 @@ func (l *LocalizerTest) Test_LocalizationMiddleware_Httptest() {
|
|||||||
|
|
||||||
for i := 0; i < 1000; i++ {
|
for i := 0; i < 1000; i++ {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
i := i
|
||||||
go func(m map[language.Tag]string, wg *sync.WaitGroup) {
|
go func(m map[language.Tag]string, wg *sync.WaitGroup) {
|
||||||
r := rand.New(rand.NewSource(time.Now().UnixNano() + int64(i))) // nolint:gosec
|
r := rand.New(rand.NewSource(time.Now().UnixNano() + int64(i))) // nolint:gosec
|
||||||
var tag language.Tag
|
var tag language.Tag
|
||||||
|
Loading…
Reference in New Issue
Block a user