mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
Other: Fix all linter errors
This commit is contained in:
committed by
James Houlahan
parent
b36972ce71
commit
7c62312220
@ -23,7 +23,7 @@ import (
|
||||
|
||||
// RandomToken is a function that returns a random token.
|
||||
// By default, we use crypto.RandomToken to generate tokens.
|
||||
var RandomToken = crypto.RandomToken
|
||||
var RandomToken = crypto.RandomToken // nolint:gochecknoglobals
|
||||
|
||||
func newRandomToken(size int) []byte {
|
||||
token, err := RandomToken(size)
|
||||
|
||||
Reference in New Issue
Block a user