repository

package
v0.0.0-...-f756222 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepo

type UserRepo struct {
	// contains filtered or unexported fields
}

func NewUserRepo

func NewUserRepo(
	logger *zap.Logger,
	awsSession *session.Session,
	tableName string,
) *UserRepo

func (*UserRepo) Get

func (r *UserRepo) Get(userID string) (*entities.User, error)

func (*UserRepo) Put

func (r *UserRepo) Put(usage entities.User) error

Jump to

Keyboard shortcuts

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