fix: remove unused Md5 function
This commit is contained in:
@@ -124,11 +124,6 @@ func Sign(a []string) string {
|
|||||||
return fmt.Sprintf("%x", has)
|
return fmt.Sprintf("%x", has)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Md5(s string) string {
|
|
||||||
has := md5.Sum([]byte(s))
|
|
||||||
return fmt.Sprintf("%x", has)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Contains(s []string, str string) bool {
|
func Contains(s []string, str string) bool {
|
||||||
for _, v := range s {
|
for _, v := range s {
|
||||||
if v == str {
|
if v == str {
|
||||||
|
|||||||
Reference in New Issue
Block a user