本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
GaoreGo
/
grlogs
關注
6
收藏
1
複製
1
程式碼
版本發佈
8
活動
瀏覽代碼
project init
tags/v1.1.0
liangzy
4 年之前
父節點
6f877bb498
當前提交
6e70217644
共有
1 個檔案被更改
,包括
14 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
function.go
+ 14
- 0
function.go
查看文件
@@ -1,5 +1,19 @@
package grlogs
import (
"crypto/md5"
"encoding/hex"
"fmt"
"io/ioutil"
"math/rand"
"os"
"path"
"reflect"
"runtime"
"strings"
"time"
)
//传入一个字符串,返回一个加密后的md5
func Md5(str string) string {
data := []byte(str)
Write
Preview
Loading…
取消
儲存