userModel

package
v0.0.0-...-e273bb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(user *entity.User) error

func DeleteUser

func DeleteUser(user *entity.User) error

func GetUser

func GetUser(id string) (*entity.User, error)

func GetUserByEmailPassword

func GetUserByEmailPassword(email string, password string) (*entity.User, error)

func GetUsers

func GetUsers() (entity.Users, error)

func UpdateUser

func UpdateUser(user *entity.User) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL