Private
Public Access
1
0

Database config parameter

This commit is contained in:
2023-07-08 22:15:03 -07:00
parent 6583a36514
commit 1963aae0b7
6 changed files with 32 additions and 484 deletions

View File

@@ -31,9 +31,8 @@ func (cli *CLI) serverCLI(cmd *cobra.Command, args []string) error {
g, ctx := errgroup.WithContext(ctx)
g.Go(func() error {
srv, err := server.NewServer(ctx)
srv, err := server.NewServer(ctx, cfgFile)
if err != nil {
log.Printf("NewServer() error: %s", err)
return fmt.Errorf("srv setup: %s", err)
}
return srv.Run()