diff --git a/connectdialog_windows.go b/connectdialog_windows.go index a3ddd54..f5d9d43 100644 --- a/connectdialog_windows.go +++ b/connectdialog_windows.go @@ -1,5 +1,4 @@ //+build windows -//go:generate ui2walk connectdialog.ui package main diff --git a/dialog_windows.go b/dialog_windows.go index 0088616..28cbf84 100644 --- a/dialog_windows.go +++ b/dialog_windows.go @@ -1,11 +1,8 @@ //+build windows -//go:generate ui2walk dialog.ui package main -import ( - "github.com/lxn/walk" -) +import "github.com/lxn/walk" type mainDialog struct { *walk.MainWindow diff --git a/main_windows.go b/main_windows.go index 77d4db5..4f24f16 100644 --- a/main_windows.go +++ b/main_windows.go @@ -1,6 +1,9 @@ //+build windows + package main +//go:generate ui2walk + import ( "fmt" "log"