Reimplement baseline
This commit is contained in:
1 parent
f062aada42
commit
33b4e2d965
36 files changed
+653
-3262
No files matched your search
@@ -15,7 +15,7 @@ func NewTokenSource() TokenSource {
|
||||
}
|
||||
|
||||
func (s TokenSource) CreateApplicationToken() (string, error) {
|
||||
cryptoRand := make([]byte, 128) //nolint:gomnd
|
||||
cryptoRand := make([]byte, 128) //nolint:mnd
|
||||
_, err := rand.Read(cryptoRand)
|
||||
if err != nil {
|
||||
return "", errors.WithMessage(err, "crypto/rand read")
|
||||
|
||||
Reference in new issue
Block a user