mirror of
https://github.com/bumi/lntip
synced 2025-07-06 00:58:56 +00:00
go fmt
This commit is contained in:
parent
01fb7be447
commit
faf858f0c4
@ -28,10 +28,10 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
e := echo.New()
|
||||
if (*staticPath != "") {
|
||||
if *staticPath != "" {
|
||||
e.Static("/static", *staticPath)
|
||||
}
|
||||
if (!*disableCors) {
|
||||
if !*disableCors {
|
||||
e.Use(middleware.CORS())
|
||||
}
|
||||
e.Use(middleware.Recover())
|
||||
|
@ -8,14 +8,13 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"gopkg.in/macaroon.v2"
|
||||
"github.com/lightningnetwork/lnd/macaroons"
|
||||
"gopkg.in/macaroon.v2"
|
||||
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials"
|
||||
)
|
||||
|
||||
|
||||
var stdOutLogger = log.New(os.Stdout, "", log.LstdFlags)
|
||||
|
||||
// thanks https://github.com/philippgille/ln-paywall/
|
||||
@ -135,4 +134,3 @@ type LNDoptions struct {
|
||||
// Optional ("invoice.macaroon" by default).
|
||||
MacaroonFile string
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user