user

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistsByID

func ExistsByID(userID uint) bool

ExistsByID check exists by userID

func ExistsByUsername

func ExistsByUsername(username string) bool

ExistsByUsername check exists by username

func GetByID

func GetByID(userID uint) (*model.User, error)

GetByID get by id

func GetByUsername

func GetByUsername(username string) (*model.User, error)

GetByUsername get by username

Types

This section is empty.

Jump to

Keyboard shortcuts

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