mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-17 03:02:28 +08:00
fix: fix lint issue
This commit is contained in:
@@ -114,7 +114,6 @@ func RsaDecrypt(data []byte, privateKeyFileName string) []byte {
|
||||
buf := make([]byte, fileInfo.Size())
|
||||
defer file.Close()
|
||||
|
||||
file.Read(buf)
|
||||
_, err = file.Read(buf)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user