Drop redundant internal utils
Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
@@ -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))
|
||||
}
|
||||
Reference in New Issue
Block a user