load config

This commit is contained in:
Iru 2025-11-23 13:54:05 +01:00
commit 566c2a1a76
3 changed files with 163 additions and 0 deletions

13
main.go Normal file
View file

@ -0,0 +1,13 @@
package main
import (
"log"
)
func main() {
cfg := LoadConfig()
log.Printf("Port: %s", cfg.Port)
log.Printf("Nsec: %s", cfg.NSec)
log.Printf("Npub: %s", cfg.NPub)
log.Printf("Relays: %s", cfg.Relays)
}