mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Rename Go module to github.com/getsops/sops/v3
This commit renames the Go module from `go.mozilla.org/sops/v3` to `github.com/getsops/sops/v3` without a major version bump, to align with new stewardship. For more information around this change, refer to https://github.com/getsops/sops/issues/1246. For a one-liner to change the `go.mod` and any import paths in your Go project making use of this module, run: ``` find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \; find /path/to/repo -type f \( -name "*.go" -o -name "go.mod" \) -exec sed -i '' 's|go.mozilla.org/sops/v3|github.com/getsops/sops/v3|g' {} \; ``` Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package json //import "go.mozilla.org/sops/v3/stores/json"
|
||||
package json //import "github.com/getsops/sops/v3/stores/json"
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"go.mozilla.org/sops/v3"
|
||||
"go.mozilla.org/sops/v3/stores"
|
||||
"github.com/getsops/sops/v3"
|
||||
"github.com/getsops/sops/v3/stores"
|
||||
)
|
||||
|
||||
// Store handles storage of JSON data.
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.mozilla.org/sops/v3"
|
||||
"github.com/getsops/sops/v3"
|
||||
)
|
||||
|
||||
func TestDecodeJSON(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user