Drop redundant internal utils

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-03 23:22:33 +08:00
parent f255b25a2e
commit 9b367594ba
14 changed files with 29 additions and 46 deletions
-16
View File
@@ -1,16 +0,0 @@
package utils
import (
"encoding/base64"
"honoka-chan/pkg/encrypt"
)
func CheckErr(err error) {
if err != nil {
panic(err)
}
}
func GenXMS(resp []byte) string {
return base64.StdEncoding.EncodeToString(encrypt.RSASignSHA1(resp))
}