save code

This commit is contained in:
2024-06-25 19:39:49 +08:00
parent 943d5f36cb
commit 0eeb2ef42e
3 changed files with 23 additions and 5 deletions

19
redis_pub_sub_test.go Normal file
View File

@ -0,0 +1,19 @@
// Package event ...
//
// Description : event ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-06-25 16:51
package event
import (
"fmt"
"git.zhangdeman.cn/zhangdeman/wrapper"
"strings"
"testing"
)
func TestInitRedisPubSubEvent(t *testing.T) {
fmt.Println(strings.ToUpper(wrapper.StringFromRandom(128, "").Md5().Value))
}