repo

package
v0.0.0-...-50ba02b Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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 LinkRepo

type LinkRepo interface {
	Create(ctx context.Context, link *entity.Link) error
	FindByUserID(ctx context.Context, userID string) ([]*entity.Link, error)
}

type RewardRepo

type RewardRepo interface {
	Create(ctx context.Context, reward *entity.Reward) error
	Update(ctx context.Context, reward *entity.Reward) error
	FindById(ctx context.Context, customerId string) (*entity.Reward, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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