Merge pull request #16459 from jmhbnz/remove-deprecated-functions

Use crypto/rand.Read instead of deprecated math/rand.Read
This commit is contained in:
Benjamin Wang 2023-08-23 03:45:14 +08:00 committed by GitHub
commit 29bfdd1f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,11 +16,11 @@ package wal
import (
"bytes"
"crypto/rand"
"errors"
"fmt"
"io"
"math"
"math/rand"
"os"
"path"
"path/filepath"