userimpl

package
v0.0.0-...-657a6a2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserImpl

type UserImpl struct{}

UserImpl - user implements

func NewUserImpl

func NewUserImpl() *UserImpl

NewUserImpl - constructor

func (*UserImpl) DeleteByID

func (u *UserImpl) DeleteByID(_ context.Context, _ string) error

DeleteByID - user deletion by id

func (*UserImpl) Get

func (u *UserImpl) Get(_ context.Context, id string) (*model.User, error)

Get - user acquisition

func (*UserImpl) Insert

func (u *UserImpl) Insert(_ context.Context, user *model.User) error

Insert - user insertion

func (*UserImpl) Update

func (u *UserImpl) Update(_ context.Context, _ *model.User) error

Update - user update

Jump to

Keyboard shortcuts

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