move service functions to service package

This commit is contained in:
kiwiidb
2022-01-19 16:10:55 +01:00
parent d3948cce06
commit 8eef14fccc
12 changed files with 26 additions and 25 deletions

View File

@@ -3,14 +3,14 @@ package controllers
import (
"net/http"
"github.com/getAlby/lndhub.go/lib"
"github.com/getAlby/lndhub.go/lib/service"
"github.com/labstack/echo/v4"
)
// CheckPaymentController : CheckPaymentController struct
type CheckPaymentController struct{}
func NewCheckPaymentController(svc *lib.LndhubService) *CheckPaymentController {
func NewCheckPaymentController(svc *service.LndhubService) *CheckPaymentController {
return &CheckPaymentController{}
}