init: 初始化仓库

This commit is contained in:
lixiangwuxian
2024-10-08 01:34:26 +08:00
commit 4d6c22ff7b
24 changed files with 1311 additions and 0 deletions

7
util/gen_from.go Normal file
View File

@@ -0,0 +1,7 @@
package util
import "fmt"
func From(groupId int64, userId int64) string {
return fmt.Sprintf("%d_%d", groupId, userId)
}