diff options
author | Blaster4385 <venkatesh@tablaster.dev> | 2025-01-13 19:14:23 +0530 |
---|---|---|
committer | Blaster4385 <venkatesh@tablaster.dev> | 2025-01-13 19:14:23 +0530 |
commit | ccaf20fb5b748eafae6b286ba9173c0a4f0ffb27 (patch) | |
tree | efa00dccfff5aef7e2c4d76cefd831786be6f771 /go.mod | |
parent | c068b6192ae1996a3c09fd73dfdee8adb36b43cc (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.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ) |