user

package
v0.0.0-...-405e10b Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(user *UserDTO) error

func ModifyUser

func ModifyUser(user *UserDTO) error

Types

type UserDTO

type UserDTO struct {
}

func User

func User(ID uint) (*UserDTO, error)

func UserByEmail

func UserByEmail(email string) (*UserDTO, error)

func Users

func Users() ([]*UserDTO, error)

type UserModel

type UserModel struct {
}

user model

func MapUser

func MapUser(userdto *UserDTO) (*UserModel, error)

Jump to

Keyboard shortcuts

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