mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-22 07:04:56 +01:00
move service functions to service package
This commit is contained in:
@@ -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{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user