dao

package
v0.0.0-...-baed21e Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(user *entities.User) (err error)

func DeleteUser

func DeleteUser(uuid uuid.UUID) (err error)

func GetAllUsersUUID

func GetAllUsersUUID() ([]string, error)

func GetUser

func GetUser(uuid uuid.UUID) (*entities.User, error)

func Init

func Init(p *database.Pool)

func IsExistsUser

func IsExistsUser(uuid uuid.UUID) (exists bool, err error)

func UpdateUser

func UpdateUser(user *entities.User) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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