services

package
v0.0.0-...-dcbd95a Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	UserDbRepo *userRepo.DynDB
	Log        *zap.Logger
}

func New

func New(userRepo *userRepo.DynDB, logger *zap.Logger) *User

func (*User) CreateUser

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

func (*User) GetUser

func (u *User) GetUser(uuid string) (*models.User, error)

Jump to

Keyboard shortcuts

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