/** * @Author: jager * @Email: lhj168os@gmail.com * @File: utils_test * @Date: 2022/1/6 5:00 下午 * @package: utils * @Version: v1.0.0 * * @Description: * */ package utils import ( "fmt" "testing" ) func TestGenSecret(t *testing.T) { fmt.Println("Sha1: " + GenSecret("1000")) fmt.Println("MD5: " + GenSecretMd5("1000")) }