[#587] Do not use math/rand.Read

Fix staticcheck warnings after go1.20 update.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-08-09 16:01:44 +03:00
parent 33c11be0cf
commit d641cba2fc
9 changed files with 33 additions and 27 deletions

View file

@ -1,8 +1,8 @@
package netmap
import (
"crypto/rand"
"math/big"
"math/rand"
"strconv"
"testing"