36 lines
548 B
Go
36 lines
548 B
Go
package tariff_external
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v2"
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
type Deps struct {
|
|
Repo string
|
|
Logger *zap.Logger
|
|
}
|
|
|
|
type TariffExternal struct {
|
|
repo string
|
|
logger *zap.Logger
|
|
}
|
|
|
|
func NewTariffExternal(deps Deps) *TariffExternal {
|
|
return &TariffExternal{
|
|
repo: deps.Repo,
|
|
logger: deps.Logger,
|
|
}
|
|
}
|
|
|
|
func (t *TariffExternal) Get(ctx *fiber.Ctx) error {
|
|
return nil
|
|
}
|
|
|
|
func (t *TariffExternal) GetList(ctx *fiber.Ctx) error {
|
|
return nil
|
|
}
|
|
|
|
func (t *TariffExternal) Create(ctx *fiber.Ctx) error {
|
|
return nil
|
|
}
|