diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 13:48:34 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 13:48:34 -0800 |
| commit | 2327f93098b4278c93055a96224ae82cef60b083 (patch) | |
| tree | 1a5e647bfa520c108dc7750e34332ad312572bdc /util/util.go | |
| parent | 4c570c223e944a148dc81a4e1ee25d6ab524ae64 (diff) | |
| download | neko-2327f93098b4278c93055a96224ae82cef60b083.tar.gz neko-2327f93098b4278c93055a96224ae82cef60b083.tar.bz2 neko-2327f93098b4278c93055a96224ae82cef60b083.zip | |
Backend: Fix linting issues, improve error handling, and replace magic numbers
Diffstat (limited to 'util/util.go')
| -rw-r--r-- | util/util.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/util/util.go b/util/util.go deleted file mode 100644 index d6fda0b..0000000 --- a/util/util.go +++ /dev/null @@ -1,19 +0,0 @@ -package util - -import ( - "os" - - "adammathes.com/neko/config" - "adammathes.com/neko/models" -) - -var DEFAULT_CONFIG = "config.json" - -func init() { - var configFile = DEFAULT_CONFIG - if len(os.Args) > 1 { - configFile = os.Args[1] - } - config.Init(configFile) - models.InitDB() -} |
