ソースを参照

project init

tags/v1.1.0
liangzy 4年前
コミット
6e70217644
1個のファイルの変更14行の追加0行の削除
  1. +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)


読み込み中…
キャンセル
保存