Skip to content

Commit

Permalink
remove debug config print
Browse files Browse the repository at this point in the history
  • Loading branch information
amintalebi committed Aug 27, 2024
1 parent ef3e03b commit b64eb2e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/cmd/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package run

import (
"context"
"encoding/json"
"fmt"
"log"
"os"
"os/signal"
Expand Down Expand Up @@ -34,8 +32,6 @@ import (
)

func main(cfg configs.Config) {
c, _ := json.MarshalIndent(cfg, "", " ")
fmt.Println(string(c))
postgresStore := store.NewPostgres(cfg.Postgres.Host, cfg.Postgres.Port, cfg.Postgres.User, cfg.Postgres.Password, cfg.Postgres.DB)
err := postgresStore.Migrate(cfg.Postgres.MigrationsPath)
if err != nil {
Expand Down

0 comments on commit b64eb2e

Please sign in to comment.