From fcce8a2d46181741495ec75688a11271fb7b959d Mon Sep 17 00:00:00 2001 From: Evan <17254809+bigun27@users.noreply.github.com> Date: Wed, 10 Jul 2024 00:06:01 -0400 Subject: [PATCH] Updated all import urls --- cmd/zenity/main.go | 8 ++++---- cmd/zenity/notify.go | 6 +++--- cmd/zenity/progress.go | 4 ++-- color_darwin.go | 2 +- color_test.go | 4 ++-- color_unix.go | 2 +- color_windows.go | 2 +- date_darwin.go | 2 +- date_test.go | 2 +- date_unix.go | 2 +- date_windows.go | 2 +- entry_darwin.go | 2 +- entry_test.go | 2 +- entry_unix.go | 2 +- entry_windows.go | 2 +- file_darwin.go | 2 +- file_test.go | 2 +- file_unix.go | 2 +- file_windows.go | 2 +- internal/win/comdlg32.go | 2 +- internal/zencmd/process_windows.go | 2 +- internal/zencmd/window_windows.go | 2 +- list_darwin.go | 2 +- list_test.go | 2 +- list_unix.go | 2 +- list_windows.go | 2 +- msg_darwin.go | 2 +- msg_test.go | 2 +- msg_unix.go | 2 +- msg_windows.go | 2 +- notify_darwin.go | 2 +- notify_test.go | 2 +- notify_unix.go | 2 +- notify_windows.go | 4 ++-- progress_darwin.go | 2 +- progress_test.go | 2 +- progress_unix.go | 2 +- progress_windows.go | 2 +- pwd_darwin.go | 2 +- pwd_test.go | 2 +- pwd_unix.go | 2 +- pwd_windows.go | 2 +- util.go | 2 +- util_darwin.go | 2 +- util_test.go | 2 +- util_windows.go | 2 +- zenity.go | 2 +- zenity_test.go | 2 +- zenity_unix.go | 2 +- zenity_windows.go | 2 +- 50 files changed, 58 insertions(+), 58 deletions(-) diff --git a/cmd/zenity/main.go b/cmd/zenity/main.go index 622f8c8..6ea52cf 100644 --- a/cmd/zenity/main.go +++ b/cmd/zenity/main.go @@ -20,9 +20,9 @@ import ( "time" "github.com/ncruces/go-strftime" - "github.com/ncruces/zenity" - "github.com/ncruces/zenity/internal/zencmd" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity" + "git.bigun.dev/evan/zenity/internal/zencmd" + "git.bigun.dev/evan/zenity/internal/zenutil" ) const unspecified = "\x00" @@ -320,7 +320,7 @@ func parseFlags() []string { func validateFlags() { if version { fmt.Printf("zenity %s %s/%s\n", getVersion(), runtime.GOOS, runtime.GOARCH) - fmt.Println("https://github.com/ncruces/zenity") + fmt.Println("https://git.bigun.dev/evan/zenity") os.Exit(0) } diff --git a/cmd/zenity/notify.go b/cmd/zenity/notify.go index 7fedd78..bdd530d 100644 --- a/cmd/zenity/notify.go +++ b/cmd/zenity/notify.go @@ -8,9 +8,9 @@ import ( "os" "strings" - "github.com/ncruces/zenity" - "github.com/ncruces/zenity/internal/zencmd" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity" + "git.bigun.dev/evan/zenity/internal/zencmd" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func notify(opts ...zenity.Option) error { diff --git a/cmd/zenity/progress.go b/cmd/zenity/progress.go index 932387f..90d5510 100644 --- a/cmd/zenity/progress.go +++ b/cmd/zenity/progress.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "github.com/ncruces/zenity" - "github.com/ncruces/zenity/internal/zencmd" + "git.bigun.dev/evan/zenity" + "git.bigun.dev/evan/zenity/internal/zencmd" ) func progress(opts ...zenity.Option) (err error) { diff --git a/color_darwin.go b/color_darwin.go index 6523587..7c75d8f 100644 --- a/color_darwin.go +++ b/color_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "image/color" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func selectColor(opts options) (color.Color, error) { diff --git a/color_test.go b/color_test.go index 3cb329e..75d4b63 100644 --- a/color_test.go +++ b/color_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/ncruces/zenity" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity" + "git.bigun.dev/evan/zenity/internal/zenutil" "go.uber.org/goleak" ) diff --git a/color_unix.go b/color_unix.go index 264558b..84600b3 100644 --- a/color_unix.go +++ b/color_unix.go @@ -5,7 +5,7 @@ package zenity import ( "image/color" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func selectColor(opts options) (color.Color, error) { diff --git a/color_windows.go b/color_windows.go index 66761dc..7b339dc 100644 --- a/color_windows.go +++ b/color_windows.go @@ -5,7 +5,7 @@ import ( "sync" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) var ( diff --git a/date_darwin.go b/date_darwin.go index 9ec1aa6..ce32732 100644 --- a/date_darwin.go +++ b/date_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "time" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func calendar(text string, opts options) (t time.Time, err error) { diff --git a/date_test.go b/date_test.go index 20e5752..3abfb48 100644 --- a/date_test.go +++ b/date_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/date_unix.go b/date_unix.go index 90795c4..00dee9e 100644 --- a/date_unix.go +++ b/date_unix.go @@ -6,7 +6,7 @@ import ( "strconv" "time" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func calendar(text string, opts options) (time.Time, error) { diff --git a/date_windows.go b/date_windows.go index 33b84a6..35c2fee 100644 --- a/date_windows.go +++ b/date_windows.go @@ -5,7 +5,7 @@ import ( "time" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func calendar(text string, opts options) (time.Time, error) { diff --git a/entry_darwin.go b/entry_darwin.go index 233f944..165fbac 100644 --- a/entry_darwin.go +++ b/entry_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "os" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func entry(text string, opts options) (string, error) { diff --git a/entry_test.go b/entry_test.go index 0146678..5451c0a 100644 --- a/entry_test.go +++ b/entry_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/entry_unix.go b/entry_unix.go index 02f5ae8..a8aef5a 100644 --- a/entry_unix.go +++ b/entry_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func entry(text string, opts options) (string, error) { args := []string{"--entry", "--text", quoteMnemonics(text)} diff --git a/entry_windows.go b/entry_windows.go index ee81193..95012ee 100644 --- a/entry_windows.go +++ b/entry_windows.go @@ -4,7 +4,7 @@ import ( "syscall" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func entry(text string, opts options) (string, error) { diff --git a/file_darwin.go b/file_darwin.go index 7f406dc..f5e1229 100644 --- a/file_darwin.go +++ b/file_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "path/filepath" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func selectFile(opts options) (name string, err error) { diff --git a/file_test.go b/file_test.go index 0fe0d8e..b02d80a 100644 --- a/file_test.go +++ b/file_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/file_unix.go b/file_unix.go index 71fdb60..e70f62e 100644 --- a/file_unix.go +++ b/file_unix.go @@ -5,7 +5,7 @@ package zenity import ( "strings" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func selectFile(opts options) (string, error) { diff --git a/file_windows.go b/file_windows.go index c820247..87d0525 100644 --- a/file_windows.go +++ b/file_windows.go @@ -9,7 +9,7 @@ import ( "unicode/utf16" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func selectFile(opts options) (string, error) { diff --git a/internal/win/comdlg32.go b/internal/win/comdlg32.go index f8d5578..c6987d1 100644 --- a/internal/win/comdlg32.go +++ b/internal/win/comdlg32.go @@ -5,7 +5,7 @@ package win import ( "fmt" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) const ( diff --git a/internal/zencmd/process_windows.go b/internal/zencmd/process_windows.go index bf9cebf..eeaf117 100644 --- a/internal/zencmd/process_windows.go +++ b/internal/zencmd/process_windows.go @@ -1,6 +1,6 @@ package zencmd -import "github.com/ncruces/zenity/internal/win" +import "git.bigun.dev/evan/zenity/internal/win" // KillParent is internal. func KillParent() { diff --git a/internal/zencmd/window_windows.go b/internal/zencmd/window_windows.go index 69ed78d..530c57b 100644 --- a/internal/zencmd/window_windows.go +++ b/internal/zencmd/window_windows.go @@ -3,7 +3,7 @@ package zencmd import ( "strconv" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" "golang.org/x/sys/windows" ) diff --git a/list_darwin.go b/list_darwin.go index 4207196..895b18b 100644 --- a/list_darwin.go +++ b/list_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "fmt" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func list(text string, items []string, opts options) (string, error) { diff --git a/list_test.go b/list_test.go index be1ba0f..1e3b599 100644 --- a/list_test.go +++ b/list_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/list_unix.go b/list_unix.go index 544a7a8..2ad0e7c 100644 --- a/list_unix.go +++ b/list_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func list(text string, items []string, opts options) (string, error) { args := []string{"--list", "--hide-header", "--text", text} diff --git a/list_windows.go b/list_windows.go index 70fcad3..1f1d07f 100644 --- a/list_windows.go +++ b/list_windows.go @@ -4,7 +4,7 @@ import ( "syscall" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func list(text string, items []string, opts options) (string, error) { diff --git a/msg_darwin.go b/msg_darwin.go index 7a177d1..fde3a03 100644 --- a/msg_darwin.go +++ b/msg_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "os" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func message(kind messageKind, text string, opts options) error { diff --git a/msg_test.go b/msg_test.go index e9c412b..1920769 100644 --- a/msg_test.go +++ b/msg_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/msg_unix.go b/msg_unix.go index c99dc8f..1c65f54 100644 --- a/msg_unix.go +++ b/msg_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func message(kind messageKind, text string, opts options) error { args := []string{"--text", text, "--no-markup"} diff --git a/msg_windows.go b/msg_windows.go index 8863a3a..38bc023 100644 --- a/msg_windows.go +++ b/msg_windows.go @@ -3,7 +3,7 @@ package zenity import ( "context" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" "golang.org/x/sys/windows" ) diff --git a/notify_darwin.go b/notify_darwin.go index 43490c4..f9b5f54 100644 --- a/notify_darwin.go +++ b/notify_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "strings" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func notify(text string, opts options) error { diff --git a/notify_test.go b/notify_test.go index 3fee581..216afe8 100644 --- a/notify_test.go +++ b/notify_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/notify_unix.go b/notify_unix.go index 9c3c979..c613e59 100644 --- a/notify_unix.go +++ b/notify_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func notify(text string, opts options) error { args := []string{"--notification", "--text", text} diff --git a/notify_windows.go b/notify_windows.go index 808f20b..3a1b763 100644 --- a/notify_windows.go +++ b/notify_windows.go @@ -13,8 +13,8 @@ import ( "time" "unsafe" - "github.com/ncruces/zenity/internal/win" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func notify(text string, opts options) error { diff --git a/progress_darwin.go b/progress_darwin.go index 9e1e3ec..687a98f 100644 --- a/progress_darwin.go +++ b/progress_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "fmt" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func progress(opts options) (ProgressDialog, error) { diff --git a/progress_test.go b/progress_test.go index 012a8b1..9966e79 100644 --- a/progress_test.go +++ b/progress_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/progress_unix.go b/progress_unix.go index 74c31ee..95c04a1 100644 --- a/progress_unix.go +++ b/progress_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func progress(opts options) (ProgressDialog, error) { args := []string{"--progress"} diff --git a/progress_windows.go b/progress_windows.go index e67dea6..a9e0247 100644 --- a/progress_windows.go +++ b/progress_windows.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func progress(opts options) (ProgressDialog, error) { diff --git a/pwd_darwin.go b/pwd_darwin.go index 0713c5d..29b7e45 100644 --- a/pwd_darwin.go +++ b/pwd_darwin.go @@ -3,7 +3,7 @@ package zenity import ( "os" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func password(opts options) (string, string, error) { diff --git a/pwd_test.go b/pwd_test.go index b6bb8ca..5cc8591 100644 --- a/pwd_test.go +++ b/pwd_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity" + "git.bigun.dev/evan/zenity" "go.uber.org/goleak" ) diff --git a/pwd_unix.go b/pwd_unix.go index aacb6c4..bcb3771 100644 --- a/pwd_unix.go +++ b/pwd_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func password(opts options) (string, string, error) { args := []string{"--password"} diff --git a/pwd_windows.go b/pwd_windows.go index d4fe3c2..c3c529b 100644 --- a/pwd_windows.go +++ b/pwd_windows.go @@ -4,7 +4,7 @@ import ( "syscall" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func password(opts options) (string, string, error) { diff --git a/util.go b/util.go index a534cb5..0f01dbc 100644 --- a/util.go +++ b/util.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func quoteAccelerators(text string) string { diff --git a/util_darwin.go b/util_darwin.go index 89dfc99..eeaf553 100644 --- a/util_darwin.go +++ b/util_darwin.go @@ -1,6 +1,6 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func getButtons(dialog, okcancel bool, opts options) (btns zenutil.DialogButtons) { if !okcancel { diff --git a/util_test.go b/util_test.go index 0d35afc..1fbe1e4 100644 --- a/util_test.go +++ b/util_test.go @@ -7,7 +7,7 @@ import ( "runtime" "testing" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func Test_quoteAccelerators(t *testing.T) { diff --git a/util_windows.go b/util_windows.go index 8ee8870..4238ce1 100644 --- a/util_windows.go +++ b/util_windows.go @@ -13,7 +13,7 @@ import ( "syscall" "unsafe" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) const ( diff --git a/zenity.go b/zenity.go index 32a8660..ecca60c 100644 --- a/zenity.go +++ b/zenity.go @@ -15,7 +15,7 @@ import ( "image/color" "time" - "github.com/ncruces/zenity/internal/zenutil" + "git.bigun.dev/evan/zenity/internal/zenutil" ) func ptr[T any](v T) *T { return &v } diff --git a/zenity_test.go b/zenity_test.go index 610a869..7f8a598 100644 --- a/zenity_test.go +++ b/zenity_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/ncruces/zenity/internal/zencmd" + "git.bigun.dev/evan/zenity/internal/zencmd" ) func Test_applyOptions(t *testing.T) { diff --git a/zenity_unix.go b/zenity_unix.go index 9dfdb70..ba57680 100644 --- a/zenity_unix.go +++ b/zenity_unix.go @@ -2,7 +2,7 @@ package zenity -import "github.com/ncruces/zenity/internal/zenutil" +import "git.bigun.dev/evan/zenity/internal/zenutil" func isAvailable() bool { return zenutil.IsAvailable() } diff --git a/zenity_windows.go b/zenity_windows.go index 1b0440d..2987708 100644 --- a/zenity_windows.go +++ b/zenity_windows.go @@ -3,7 +3,7 @@ package zenity import ( "reflect" - "github.com/ncruces/zenity/internal/win" + "git.bigun.dev/evan/zenity/internal/win" ) func isAvailable() bool { return true }