mysql

package
v0.0.0-...-48f44c5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func CheckUser

func CheckUser(account, password string) ([]*model.User, error)

func CreateUsers

func CreateUsers(users []*model.User) error

func FindUserByNameOrEmail

func FindUserByNameOrEmail(userName, email string) ([]*model.User, error)

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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