feat: init
This commit is contained in:
10
pkg/utils/ptr.go
Normal file
10
pkg/utils/ptr.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package utils
|
||||
|
||||
func BytesToStringPtr(b []byte) *string {
|
||||
s := string(b)
|
||||
return &s
|
||||
}
|
||||
|
||||
func StrPtr(s string) *string {
|
||||
return &s
|
||||
}
|
||||
Reference in New Issue
Block a user