You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
350 B
Go
24 lines
350 B
Go
3 years ago
|
/**
|
||
|
* @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"))
|
||
|
}
|