queries

package
v0.0.0-...-7b9a92c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(user *entities.User) error

CreateUser query for creating a new user by given email and password hash.

func GetUserByEmail

func GetUserByEmail(email string) (*entities.User, error)

GetUserByEmail query for getting one User by given Email.

func GetUserByID

func GetUserByID(id uuid.UUID) (*entities.User, error)

GetUserByID query for getting one User by given ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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