database

package
v0.0.0-...-070f6d9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAllUsers

func FetchAllUsers() ([]model.User, error)

func FetchUserByEmail

func FetchUserByEmail(email model.User) (model.User, error)

func InsertNewUser

func InsertNewUser(user model.User) error

func PsqlConnString

func PsqlConnString() string

func ValidateLogin

func ValidateLogin(email, password string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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