提交 130895c2 编写于 作者: 李光春

【优化】

上级 740f7d06
...@@ -4,4 +4,5 @@ ...@@ -4,4 +4,5 @@
.idea .idea
.vscode .vscode
*.log *.log
git.sh git.sh
\ No newline at end of file gitv.sh
\ No newline at end of file
package helper_aes package aes
import ( import (
"bytes" "bytes"
......
package helper_decimal package decimal
import ( import (
"fmt" "fmt"
......
package helper_json package json
import "encoding/json" import "encoding/json"
......
package helper_mail package mail
import ( import (
"fmt" "fmt"
......
package helper_md5 package md5
import ( import (
"crypto/md5" "crypto/md5"
...@@ -9,4 +9,4 @@ func MD5(str string) string { ...@@ -9,4 +9,4 @@ func MD5(str string) string {
s := md5.New() s := md5.New()
s.Write([]byte(str)) s.Write([]byte(str))
return hex.EncodeToString(s.Sum(nil)) return hex.EncodeToString(s.Sum(nil))
} }
\ No newline at end of file
package helper_rsa package rsa
import ( import (
"crypto/rand" "crypto/rand"
......
package helper_time package time
import "time" import "time"
......
package helper_uuid package uuid
import "github.com/google/uuid" import "github.com/google/uuid"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册