updateHelper

master
李光春 3 years ago
parent 4bfe4519ad
commit 740f7d060f

@ -1,4 +1,4 @@
package aes
package helper_aes
import (
"bytes"

@ -1,4 +1,4 @@
package decimal
package helper_decimal
import (
"fmt"

@ -1,4 +1,4 @@
package json
package helper_json
import "encoding/json"

@ -1,4 +1,4 @@
package mail
package helper_mail
import (
"fmt"

@ -1,4 +1,4 @@
package md5
package helper_md5
import (
"crypto/md5"
@ -9,4 +9,4 @@ func MD5(str string) string {
s := md5.New()
s.Write([]byte(str))
return hex.EncodeToString(s.Sum(nil))
}
}

@ -1,4 +1,4 @@
package rsa
package helper_rsa
import (
"crypto/rand"

@ -1,4 +1,4 @@
package time
package helper_time
import "time"

@ -1,4 +1,4 @@
package uuid
package helper_uuid
import "github.com/google/uuid"
Loading…
Cancel
Save