aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2025-01-13 19:14:23 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2025-01-13 19:14:23 +0530
commitccaf20fb5b748eafae6b286ba9173c0a4f0ffb27 (patch)
treeefa00dccfff5aef7e2c4d76cefd831786be6f771 /go.mod
parentc068b6192ae1996a3c09fd73dfdee8adb36b43cc (diff)
refactor(main.go): optimized and cleaned up code
- Added option to select working mode. - Improved flag parsing using pflag. - Created separate functions for each mode.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index d8b8127..4602ac5 100644
--- a/go.mod
+++ b/go.mod
@@ -6,6 +6,7 @@ toolchain go1.23.4
require (
github.com/google/gousb v1.1.3
+ github.com/spf13/pflag v1.0.5
github.com/wailsapp/wails/v2 v2.9.2
)