feat: init

This commit is contained in:
Rogee
2024-09-30 11:02:26 +08:00
parent 679759846b
commit 694dfd2a4f
90 changed files with 6046 additions and 15 deletions

10
pkg/utils/ptr.go Normal file
View File

@@ -0,0 +1,10 @@
package utils
func BytesToStringPtr(b []byte) *string {
s := string(b)
return &s
}
func StrPtr(s string) *string {
return &s
}