[#1910] .golangci.yml: Add misspell linker

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-10-17 15:33:41 +03:00 committed by fyrchik
parent 9e46799cd4
commit 1cb892c579
7 changed files with 7 additions and 6 deletions

View file

@ -20,7 +20,7 @@ func (s *TokenStore) decrypt(value []byte) ([]byte, error) {
nonceSize := s.gcm.NonceSize()
if len(value) < nonceSize {
return nil, fmt.Errorf(
"unexpected encrypted length: nonce length is %d, encrypted data lenght is %d",
"unexpected encrypted length: nonce length is %d, encrypted data length is %d",
nonceSize,
len(value),
)