database

package
v0.0.0-...-6468967 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB() (*gorm.DB, error)

func CreateUser

func CreateUser(u *models.User) (*models.User, error)

func GetUserBy

func GetUserBy(criteria, searchkey string) (models.User, error)

func ValidateUser

func ValidateUser(user models.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