From dcadfe73e8931185e0c7339659b11a7a26c4fbc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Sun, 3 Mar 2024 11:04:46 +0000 Subject: [PATCH] squash --- internal/api/impl.go | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/internal/api/impl.go b/internal/api/impl.go index 41214f6..1e35bc0 100644 --- a/internal/api/impl.go +++ b/internal/api/impl.go @@ -1,14 +1,26 @@ package api //go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=api.cfg.yaml ../../docs/openapi.yaml -import "github.com/labstack/echo/v4" +import ( + "net/http" + + "github.com/labstack/echo/v4" +) type PersonalFinanceImpl struct{} -func (*PersonalFinanceImpl) GetBanks(ctx echo.Context) error {} +func (*PersonalFinanceImpl) GetBanks(ctx echo.Context) error { + return echo.NewHTTPError(http.StatusNotImplemented) +} -func (*PersonalFinanceImpl) GetBanksById(ctx echo.Context, bankId int64) error {} +func (*PersonalFinanceImpl) GetBanksById(ctx echo.Context, bankId int64) error { + return echo.NewHTTPError(http.StatusNotImplemented) +} -func (*PersonalFinanceImpl) GetTransactions(ctx echo.Context, params GetTransactionsParams) error {} +func (*PersonalFinanceImpl) GetTransactions(ctx echo.Context, params GetTransactionsParams) error { + return echo.NewHTTPError(http.StatusNotImplemented) +} -func (*PersonalFinanceImpl) GetTransactionsById(ctx echo.Context, transactionId int64) error {} +func (*PersonalFinanceImpl) GetTransactionsById(ctx echo.Context, transactionId int64) error { + return echo.NewHTTPError(http.StatusNotImplemented) +}