Updated all import urls

This commit is contained in:
Evan 2024-07-10 00:06:01 -04:00
parent c0a5330968
commit fcce8a2d46
50 changed files with 58 additions and 58 deletions

View file

@ -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)
}

View file

@ -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 {

View file

@ -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) {

View file

@ -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) {

View file

@ -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"
)

View file

@ -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) {

View file

@ -5,7 +5,7 @@ import (
"sync"
"unsafe"
"github.com/ncruces/zenity/internal/win"
"git.bigun.dev/evan/zenity/internal/win"
)
var (

View file

@ -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) {

View file

@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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) {

View file

@ -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) {

View file

@ -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) {

View file

@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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)}

View file

@ -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) {

View file

@ -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) {

View file

@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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) {

View file

@ -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) {

View file

@ -5,7 +5,7 @@ package win
import (
"fmt"
"github.com/ncruces/zenity/internal/zenutil"
"git.bigun.dev/evan/zenity/internal/zenutil"
)
const (

View file

@ -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() {

View file

@ -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"
)

View file

@ -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) {

View file

@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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}

View file

@ -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) {

View file

@ -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 {

View file

@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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"}

View file

@ -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"
)

View file

@ -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 {

View file

@ -5,7 +5,7 @@ import (
"errors"
"testing"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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}

View file

@ -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 {

View file

@ -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) {

View file

@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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"}

View file

@ -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) {

View file

@ -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) {

View file

@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/ncruces/zenity"
"git.bigun.dev/evan/zenity"
"go.uber.org/goleak"
)

View file

@ -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"}

View file

@ -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) {

View file

@ -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 {

View file

@ -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 {

View file

@ -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) {

View file

@ -13,7 +13,7 @@ import (
"syscall"
"unsafe"
"github.com/ncruces/zenity/internal/win"
"git.bigun.dev/evan/zenity/internal/win"
)
const (

View file

@ -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 }

View file

@ -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) {

View file

@ -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() }

View file

@ -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 }