1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

fix golint

This commit is contained in:
wenzl
2018-02-23 16:28:56 +08:00
parent 4207d369b3
commit ae0594cfeb
2 changed files with 68 additions and 68 deletions

View File

@@ -1,8 +1,8 @@
package util
import (
"bytes"
"bufio"
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/md5"
@@ -186,7 +186,7 @@ func decodeNetworkByteOrder(orderBytes []byte) (n uint32) {
uint32(orderBytes[3])
}
// 计算 32 位长度的 MD5 sum
// MD5Sum 计算 32 位长度的 MD5 sum
func MD5Sum(txt string) (sum string) {
h := md5.New()
buf := bufio.NewWriterSize(h, 128)