created: utils package
This commit is contained in:
parent
f4c4065812
commit
5ffb6dde46
4 changed files with 52 additions and 0 deletions
8
internal/interfaces/utils.go
Normal file
8
internal/interfaces/utils.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package interfaces
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type Utils interface {
|
||||
IsEmail(email string) bool
|
||||
GetUserUuidFromContext(c *gin.Context) (string, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue