From bb4dcb3c0d6c91922d81defa607913ae7e10c8b3 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Mon, 22 Jul 2024 02:53:03 +0100 Subject: [PATCH] fix imports --- .github/workflows/build.yaml | 2 +- cmd/escargs/escargs.go | 4 ++-- example_test.go | 2 +- go.mod | 2 +- shellescape.go | 2 +- shellescape_test.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7e66af8..7ab5f60 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,7 +10,7 @@ jobs: test: strategy: matrix: - go-version: [1.20.x, 1.21.x] + go-version: [1.20.x, 1.21.x, 1.22.x] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: diff --git a/cmd/escargs/escargs.go b/cmd/escargs/escargs.go index 6df6602..52b0021 100644 --- a/cmd/escargs/escargs.go +++ b/cmd/escargs/escargs.go @@ -11,7 +11,7 @@ import ( "log" "os" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" ) var ( @@ -113,5 +113,5 @@ Options:` func outputVersion() { fmt.Fprintf(os.Stderr, "escargs version %s\n", version) - fmt.Fprintln(os.Stderr, "Copyright (C) 2020-2023 Alessio Treglia ") + fmt.Fprintln(os.Stderr, "Copyright (C) 2020-2024 Alessio Treglia ") } diff --git a/example_test.go b/example_test.go index d9cb344..caccd41 100644 --- a/example_test.go +++ b/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" "github.com/google/shlex" ) diff --git a/go.mod b/go.mod index 6a43f1a..f46d761 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/alessio/shellescape +module al.essio.dev/pkg/shellescape go 1.18 diff --git a/shellescape.go b/shellescape.go index dc34a55..f3d0d9c 100644 --- a/shellescape.go +++ b/shellescape.go @@ -6,7 +6,7 @@ POSIX shells. The original Python package which this work was inspired by can be found at https://pypi.python.org/pypi/shellescape. */ -package shellescape // "import gopkg.in/alessio/shellescape.v1" +package shellescape // "import al.essio.dev/pkg/shellescape" /* The functionality provided by shellescape.Quote could be helpful diff --git a/shellescape_test.go b/shellescape_test.go index 41ae19c..dd0e9fc 100644 --- a/shellescape_test.go +++ b/shellescape_test.go @@ -3,7 +3,7 @@ package shellescape_test import ( "testing" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" ) func assertEqual(t *testing.T, s, expected string) {