From 57c782546739fde08138b00e2d0b3ba5f18fb676 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 19 Apr 2024 18:22:50 +0200 Subject: ref: Better organize the files --- main.go | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go deleted file mode 100644 index 5ba494f..0000000 --- a/main.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import ( - "context" - "log/slog" - "os" -) - -func main() { - ctx := context.Background() - - if len(os.Args) > 1 && os.Args[1] == "import" { - err := importDict(ctx, "main.dict") - if err != nil { - slog.Error("Error importing", "error", err) - return - } - } else { - err := run(ctx, "main.dict") - if err != nil { - slog.Error("Error running", "error", err) - return - } - } -} -- cgit v1.2.3