10 lines
280 B
Go
10 lines
280 B
Go
package interfaces
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
type Utils interface {
|
|
IsEmail(email string) bool
|
|
GetUserUuidFromContext(c *gin.Context) (string, error)
|
|
HashPassword(password string) (string, error)
|
|
ComparePasswords(hashedPassword string, plainPassword string) error
|
|
}
|