Skip to content

Commit

Permalink
use io instead of ioutil (linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Sep 24, 2022
1 parent 8f0376b commit ed4ae31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package utils

import (
"bytes"
"io/ioutil"
"io"
"runtime"
"strings"
"sync"
Expand Down Expand Up @@ -95,5 +95,5 @@ func decrypt(cfg []byte, key string) ([]byte, error) {
return nil, err
}

return ioutil.ReadAll(decryptedReader)
return io.ReadAll(decryptedReader)
}

0 comments on commit ed4ae31

Please sign in to comment.