Internalize forked code

This commit is contained in:
Katrina Verey
2022-08-17 16:09:05 -04:00
parent eb54c97947
commit f66936f6bf
6 changed files with 5 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ import (
"time" "time"
. "gopkg.in/check.v1" . "gopkg.in/check.v1"
"gopkg.in/yaml.v3" "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml"
) )
var unmarshalIntTest = 123 var unmarshalIntTest = 123

View File

@@ -27,7 +27,7 @@ import (
"os" "os"
. "gopkg.in/check.v1" . "gopkg.in/check.v1"
"gopkg.in/yaml.v3" "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml"
) )
var marshalIntTest = 123 var marshalIntTest = 123

View File

@@ -19,7 +19,7 @@ import (
"fmt" "fmt"
"log" "log"
"gopkg.in/yaml.v3" "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml"
) )
// An example showing how to unmarshal embedded // An example showing how to unmarshal embedded

View File

@@ -1,5 +0,0 @@
module "gopkg.in/yaml.v3"
require (
"gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405
)

View File

@@ -5,7 +5,7 @@ import (
"testing" "testing"
. "gopkg.in/check.v1" . "gopkg.in/check.v1"
"gopkg.in/yaml.v3" "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml"
) )
var limitTests = []struct { var limitTests = []struct {

View File

@@ -21,7 +21,7 @@ import (
"os" "os"
. "gopkg.in/check.v1" . "gopkg.in/check.v1"
"gopkg.in/yaml.v3" "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml"
"io" "io"
"strings" "strings"
) )