feat: init repo
This commit is contained in:
13
templates/project/pkg/dao.go.tpl
Executable file
13
templates/project/pkg/dao.go.tpl
Executable file
@@ -0,0 +1,13 @@
|
||||
package pkg
|
||||
|
||||
func WrapLike(v string) string {
|
||||
return "%" + v + "%"
|
||||
}
|
||||
|
||||
func WrapLikeLeft(v string) string {
|
||||
return "%" + v
|
||||
}
|
||||
|
||||
func WrapLikeRight(v string) string {
|
||||
return "%" + v
|
||||
}
|
||||
Reference in New Issue
Block a user