mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[chore] lint fixes
This commit is contained in:
@@ -2,11 +2,12 @@ package application
|
||||
|
||||
import (
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/wailsapp/wails/v2/internal/app"
|
||||
"github.com/wailsapp/wails/v2/internal/signal"
|
||||
"github.com/wailsapp/wails/v2/pkg/menu"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
"sync"
|
||||
)
|
||||
|
||||
// Application is the main Wails application
|
||||
@@ -86,7 +87,6 @@ func (a *Application) Bind(boundStruct any) {
|
||||
}
|
||||
|
||||
func (a *Application) On(eventType EventType, callback func()) {
|
||||
|
||||
c := func(ctx context.Context) {
|
||||
callback()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user