This commit is contained in:
wangchuxiao
2023-01-30 15:28:46 +08:00
parent 26ed14d1d3
commit 67c082ab7b
90 changed files with 293 additions and 489 deletions
+15
View File
@@ -0,0 +1,15 @@
package utils
import (
"testing"
"github.com/stretchr/testify/assert"
)
func Test_Md5(t *testing.T) {
result := Md5("go")
assert.Equal(t, result, "34d1f91fb2e514b8576fab1a75a89a6b")
result2 := Md5("go")
assert.Equal(t, result, result2)
}