Skip to content

Commit

Permalink
Switch the module path
Browse files Browse the repository at this point in the history
  • Loading branch information
graveland committed Apr 25, 2024
1 parent 7be8bb1 commit 6b0a80d
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"testing"

"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

func newBenchmarkObject() interface{} {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module sigs.k8s.io/yaml
module graveland/yaml

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion goyaml.v2/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

var unmarshalIntTest = 123
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v2/encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

type jsonNumberT string
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v2/example_embedded_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

// An example showing how to unmarshal embedded
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v2/limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

var limitTests = []struct {
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"time"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v3"
"graveland/yaml/goyaml.v3"
)

var unmarshalIntTest = 123
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"os"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v3"
"graveland/yaml/goyaml.v3"
)

var marshalIntTest = 123
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/example_embedded_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"log"

"sigs.k8s.io/yaml/goyaml.v3"
"graveland/yaml/goyaml.v3"
)

// An example showing how to unmarshal embedded
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"sigs.k8s.io/yaml/goyaml.v3"
"graveland/yaml/goyaml.v3"
)

var limitTests = []struct {
Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

. "gopkg.in/check.v1"
"io"
"sigs.k8s.io/yaml/goyaml.v3"
"graveland/yaml/goyaml.v3"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion goyaml.v3/patch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"bytes"

. "gopkg.in/check.v1"
yaml "sigs.k8s.io/yaml/goyaml.v3"
yaml "graveland/yaml/goyaml.v3"
)

func (s *S) TestCompactSeqIndentDefault(c *C) {
Expand Down
2 changes: 1 addition & 1 deletion yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"reflect"
"strconv"

"sigs.k8s.io/yaml/goyaml.v2"
"graveland/yaml/goyaml.v2"
)

// Marshal marshals obj into JSON using stdlib json.Marshal, and then converts JSON to YAML using JSONToYAML (see that method for more reference)
Expand Down
4 changes: 2 additions & 2 deletions yaml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"testing"

"github.com/google/go-cmp/cmp"
yamlv2 "sigs.k8s.io/yaml/goyaml.v2"
yamlv3 "sigs.k8s.io/yaml/goyaml.v3"
yamlv2 "graveland/yaml/goyaml.v2"
yamlv3 "graveland/yaml/goyaml.v3"
)

/* Test helper functions */
Expand Down

0 comments on commit 6b0a80d

Please sign in to comment.