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

@@ -4,16 +4,16 @@ import (
"context"
"net/http"
"github.com/getAlby/lndhub.go/lib"
"github.com/getAlby/lndhub.go/lib/service"
"github.com/labstack/echo/v4"
)
// BalanceController : BalanceController struct
type BalanceController struct {
svc *lib.LndhubService
svc *service.LndhubService
}
func NewBalanceController(svc *lib.LndhubService) *BalanceController {
func NewBalanceController(svc *service.LndhubService) *BalanceController {
return &BalanceController{svc: svc}
}