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