micw/cmd/server/main.go

16 lines
213 B
Go
Raw Permalink Normal View History

2024-11-13 21:10:13 +00:00
package main
import (
"log"
"mic-wallet/server"
"mic-wallet/server/config"
)
func main() {
cfg, err := config.ReadConfigFile("./config.yml")
if err != nil {
log.Fatal(err)
}
server.New(cfg.Process())
}