style(imports): reorganize import order and cleanup whitespace
- commit
- dc10bc86f2b258d8dc7ce386cf9c215269983f8d
- author
- bamen · · 2025-09-20 13:26 UTC
- parent
- a2035ab
- signature
- unsigned
5 files · +4 -5
M internal/app/browser/browser.go +1 -1
| @@ -19,8 +19,8 @@ import ( | |||
| 19 | 19 | "github.com/bnema/dumber/internal/filtering" | |
| 20 | 20 | "github.com/bnema/dumber/internal/logging" | |
| 21 | 21 | "github.com/bnema/dumber/internal/migrations" | |
| 22 | - | "github.com/bnema/dumber/pkg/webkit" | |
| 23 | 22 | "github.com/bnema/dumber/internal/services" | |
| 23 | + | "github.com/bnema/dumber/pkg/webkit" | |
| 24 | 24 | ) | |
| 25 | 25 | ||
| 26 | 26 | // BrowserApp represents the main browser application | |
| @@ -19,8 +19,8 @@ import ( | |||||
| 19 | "github.com/bnema/dumber/internal/filtering" | 19 | "github.com/bnema/dumber/internal/filtering" | ||
| 20 | "github.com/bnema/dumber/internal/logging" | 20 | "github.com/bnema/dumber/internal/logging" | ||
| 21 | "github.com/bnema/dumber/internal/migrations" | 21 | "github.com/bnema/dumber/internal/migrations" | ||
| 22 | - | "github.com/bnema/dumber/pkg/webkit" | |||
| 23 | "github.com/bnema/dumber/internal/services" | 22 | "github.com/bnema/dumber/internal/services" | ||
| 23 | + | "github.com/bnema/dumber/pkg/webkit" | |||
| 24 | ) | 24 | ) | ||
| 25 | 25 | ||||
| 26 | // BrowserApp represents the main browser application | 26 | // BrowserApp represents the main browser application | ||
M internal/app/browser/window_shortcuts.go +0 -1
| @@ -200,7 +200,6 @@ func (h *WindowShortcutHandler) handleUIToggle(lastToggle *time.Time, featureNam | |||
| 200 | 200 | } | |
| 201 | 201 | } | |
| 202 | 202 | ||
| 203 | - | ||
| 204 | 203 | // Cleanup releases resources | |
| 205 | 204 | func (h *WindowShortcutHandler) Cleanup() { | |
| 206 | 205 | if h.shortcuts != nil { | |
| @@ -200,7 +200,6 @@ func (h *WindowShortcutHandler) handleUIToggle(lastToggle *time.Time, featureNam | |||||
| 200 | } | 200 | } | ||
| 201 | } | 201 | } | ||
| 202 | 202 | ||||
| 203 | - | ||||
| 204 | // Cleanup releases resources | 203 | // Cleanup releases resources | ||
| 205 | func (h *WindowShortcutHandler) Cleanup() { | 204 | func (h *WindowShortcutHandler) Cleanup() { | ||
| 206 | if h.shortcuts != nil { | 205 | if h.shortcuts != nil { | ||
M internal/app/control/navigation.go +1 -1
| @@ -5,8 +5,8 @@ import ( | |||
| 5 | 5 | "log" | |
| 6 | 6 | "os" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/dumber/pkg/webkit" | |
| 9 | 8 | "github.com/bnema/dumber/internal/services" | |
| 9 | + | "github.com/bnema/dumber/pkg/webkit" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | // NavigationController manages navigation functionality | |
| @@ -5,8 +5,8 @@ import ( | |||||
| 5 | "log" | 5 | "log" | ||
| 6 | "os" | 6 | "os" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/dumber/pkg/webkit" | |||
| 9 | "github.com/bnema/dumber/internal/services" | 8 | "github.com/bnema/dumber/internal/services" | ||
| 9 | + | "github.com/bnema/dumber/pkg/webkit" | |||
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | // NavigationController manages navigation functionality | 12 | // NavigationController manages navigation functionality | ||
M internal/app/control/zoom.go +1 -1
| @@ -4,8 +4,8 @@ import ( | |||
| 4 | 4 | "context" | |
| 5 | 5 | "log" | |
| 6 | 6 | ||
| 7 | - | "github.com/bnema/dumber/pkg/webkit" | |
| 8 | 7 | "github.com/bnema/dumber/internal/services" | |
| 8 | + | "github.com/bnema/dumber/pkg/webkit" | |
| 9 | 9 | ) | |
| 10 | 10 | ||
| 11 | 11 | // ZoomController manages zoom functionality for the WebView | |
| @@ -4,8 +4,8 @@ import ( | |||||
| 4 | "context" | 4 | "context" | ||
| 5 | "log" | 5 | "log" | ||
| 6 | 6 | ||||
| 7 | - | "github.com/bnema/dumber/pkg/webkit" | |||
| 8 | "github.com/bnema/dumber/internal/services" | 7 | "github.com/bnema/dumber/internal/services" | ||
| 8 | + | "github.com/bnema/dumber/pkg/webkit" | |||
| 9 | ) | 9 | ) | ||
| 10 | 10 | ||||
| 11 | // ZoomController manages zoom functionality for the WebView | 11 | // ZoomController manages zoom functionality for the WebView | ||
M internal/app/messaging/handler.go +1 -1
| @@ -11,8 +11,8 @@ import ( | |||
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/dumber/internal/app/constants" | |
| 13 | 13 | "github.com/bnema/dumber/internal/app/control" | |
| 14 | - | "github.com/bnema/dumber/pkg/webkit" | |
| 15 | 14 | "github.com/bnema/dumber/internal/services" | |
| 15 | + | "github.com/bnema/dumber/pkg/webkit" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | // Handler processes script messages from the WebView | |
| @@ -11,8 +11,8 @@ import ( | |||||
| 11 | 11 | ||||
| 12 | "github.com/bnema/dumber/internal/app/constants" | 12 | "github.com/bnema/dumber/internal/app/constants" | ||
| 13 | "github.com/bnema/dumber/internal/app/control" | 13 | "github.com/bnema/dumber/internal/app/control" | ||
| 14 | - | "github.com/bnema/dumber/pkg/webkit" | |||
| 15 | "github.com/bnema/dumber/internal/services" | 14 | "github.com/bnema/dumber/internal/services" | ||
| 15 | + | "github.com/bnema/dumber/pkg/webkit" | |||
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | // Handler processes script messages from the WebView | 18 | // Handler processes script messages from the WebView | ||