fix ldflags for goreleaser
This commit is contained in:
parent
6269731c92
commit
4888b386ae
1 changed files with 3 additions and 3 deletions
6
main.go
6
main.go
|
@ -13,12 +13,12 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Version string
|
version string
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
l := gologger.Get(config.GetConfig().LogLevel).With().Caller().Logger()
|
l := gologger.Get(config.GetConfig().LogLevel).With().Caller().Logger()
|
||||||
l.Debug().Msgf("starting well-goknown v%s", Version)
|
l.Debug().Msgf("starting well-goknown v%s", version)
|
||||||
db, _ := db.NewDB()
|
db, _ := db.NewDB()
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ func main() {
|
||||||
if err := nostr.RelayDb.Init(); err != nil {
|
if err := nostr.RelayDb.Init(); err != nil {
|
||||||
l.Panic().Msgf("unable to connect to relay db: %s", err.Error())
|
l.Panic().Msgf("unable to connect to relay db: %s", err.Error())
|
||||||
}
|
}
|
||||||
relay := nostr.NewRelay(Version)
|
relay := nostr.NewRelay(version)
|
||||||
|
|
||||||
// matrix endpoints
|
// matrix endpoints
|
||||||
l.Debug().Msg("enabling matrix well-known endpoints")
|
l.Debug().Msg("enabling matrix well-known endpoints")
|
||||||
|
|
Loading…
Reference in a new issue