Formatting with blank lines
This commit is contained in:
parent
ae4223512c
commit
5f0ddbcbd7
4
main.go
4
main.go
|
@ -30,16 +30,20 @@ func init() {
|
||||||
ctx router.ServerContext
|
ctx router.ServerContext
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
if err = env.Load(); err != nil {
|
if err = env.Load(); err != nil {
|
||||||
log.Fatalf("error loading env vars: %v", err)
|
log.Fatalf("error loading env vars: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
flag.StringVar(&dbUrl, "DATABASE_URL", "delphi.market", "Public URL of website")
|
flag.StringVar(&dbUrl, "DATABASE_URL", "delphi.market", "Public URL of website")
|
||||||
flag.StringVar(&lndAddress, "LND_ADDRESS", "localhost:10001", "LND gRPC server address")
|
flag.StringVar(&lndAddress, "LND_ADDRESS", "localhost:10001", "LND gRPC server address")
|
||||||
flag.StringVar(&lndCert, "LND_CERT", "", "Path to LND TLS certificate")
|
flag.StringVar(&lndCert, "LND_CERT", "", "Path to LND TLS certificate")
|
||||||
flag.StringVar(&lndMacaroonDir, "LND_MACAROON_DIR", "", "LND macaroon directory")
|
flag.StringVar(&lndMacaroonDir, "LND_MACAROON_DIR", "", "LND macaroon directory")
|
||||||
flag.StringVar(&lndNetwork, "LND_NETWORK", "regtest", "LND network")
|
flag.StringVar(&lndNetwork, "LND_NETWORK", "regtest", "LND network")
|
||||||
env.Parse()
|
env.Parse()
|
||||||
|
|
||||||
figlet()
|
figlet()
|
||||||
|
|
||||||
log.Printf("Commit: %s", env.CommitShortSha)
|
log.Printf("Commit: %s", env.CommitShortSha)
|
||||||
log.Printf("Public URL: %s", env.PublicURL)
|
log.Printf("Public URL: %s", env.PublicURL)
|
||||||
log.Printf("Environment: %s", env.Env)
|
log.Printf("Environment: %s", env.Env)
|
||||||
|
|
Loading…
Reference in New Issue