Skip to content

Commit

Permalink
Remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Imielowski committed Mar 7, 2024
1 parent f08ce54 commit fb191b9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ func parseFlags() Config {
return cfg
}

func executeCommand(ctx context.Context, cmdArgs []string, setupAndExecute func(context.Context, []string) error) {
err := setupAndExecute(ctx, cmdArgs)
if err != nil {
log.Fatalf("There was an error during the execution: %s", err)
}
}

func main() {
cfg := parseFlags()

Expand Down

0 comments on commit fb191b9

Please sign in to comment.