controller

package
v0.0.0-...-67402a3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CouponController

type CouponController interface {
	Create(ctx context.Context, dto repo.CouponDto) (*model.Coupon, error)
}

func NewCouponController

func NewCouponController(db *sqlx.DB) CouponController

type CouponTypeController

type CouponTypeController interface {
	Create(ctx context.Context, dto repo.CouponTypeDto) (*model.CouponType, error)
}

func NewCouponTypeController

func NewCouponTypeController(db *sqlx.DB) CouponTypeController

Jump to

Keyboard shortcuts

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