From 105d6c237e9bf652c1b16fb6bbf996b1a4efc9a0 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Fri, 7 Jun 2019 12:11:03 -0700 Subject: [PATCH 1/2] refer to kubernetes-sigs/yaml and sigs.k8s.io/yaml in readme instead of ghodss/yaml Signed-off-by: Andrew Lavery --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0200f75..f7c490c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # YAML marshaling and unmarshaling support for Go -[![Build Status](https://travis-ci.org/ghodss/yaml.svg)](https://travis-ci.org/ghodss/yaml) +[![Build Status](https://travis-ci.org/kubernetes-sigs/yaml.svg)](https://travis-ci.org/kubernetes-sigs/yaml) ## Introduction @@ -32,13 +32,13 @@ GOOD: To install, run: ``` -$ go get github.com/ghodss/yaml +$ go get sigs.k8s.io/yaml ``` And import using: ``` -import "github.com/ghodss/yaml" +import "sigs.k8s.io/yaml" ``` Usage is very similar to the JSON library: @@ -49,7 +49,7 @@ package main import ( "fmt" - "github.com/ghodss/yaml" + "sigs.k8s.io/yaml" ) type Person struct { @@ -93,7 +93,7 @@ package main import ( "fmt" - "github.com/ghodss/yaml" + "sigs.k8s.io/yaml" ) func main() { From ca78b810e5098f477c5df1f146749806c22149f2 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Fri, 7 Jun 2019 13:30:18 -0700 Subject: [PATCH 2/2] mention heritage as fork of ghodss/yaml Signed-off-by: Andrew Lavery --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f7c490c..3735f25 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Build Status](https://travis-ci.org/kubernetes-sigs/yaml.svg)](https://travis-ci.org/kubernetes-sigs/yaml) +kubernetes-sigs/yaml is a permanent fork of [ghodss/yaml](https://github.com/ghodss/yaml). + ## Introduction A wrapper around [go-yaml](https://github.com/go-yaml/yaml) designed to enable a better way of handling YAML when marshaling to and from structs.