From 32844380b09461ab4657f2e58ac7d6ec6e6a2b75 Mon Sep 17 00:00:00 2001 From: Reuven Harrison Date: Wed, 24 Jun 2026 23:24:12 +0300 Subject: [PATCH] docs: point README badges and install/import at oasdiff/yaml The badges (Lint, Test Go, Go Report Card, Latest Tag) and the go get / import examples still referenced the upstream invopop/yaml, so the badges showed the wrong repo and the install instructions pointed at the wrong module. Repoint them to github.com/oasdiff/yaml. Kept the one-line lineage note that this is a fork of invopop/yaml. Co-Authored-By: Claude Opus 4.8 --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a40f33d..dd6036e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # YAML marshaling and unmarshaling support for Go -[![Lint](https://github.com/invopop/yaml/actions/workflows/lint.yaml/badge.svg)](https://github.com/invopop/yaml/actions/workflows/lint.yaml) -[![Test Go](https://github.com/invopop/yaml/actions/workflows/test.yaml/badge.svg)](https://github.com/invopop/yaml/actions/workflows/test.yaml) -[![Go Report Card](https://goreportcard.com/badge/github.com/invopop/yaml)](https://goreportcard.com/report/github.com/invopop/yaml) -![Latest Tag](https://img.shields.io/github/v/tag/invopop/yaml) +[![Lint](https://github.com/oasdiff/yaml/actions/workflows/lint.yaml/badge.svg)](https://github.com/oasdiff/yaml/actions/workflows/lint.yaml) +[![Test Go](https://github.com/oasdiff/yaml/actions/workflows/test.yaml/badge.svg)](https://github.com/oasdiff/yaml/actions/workflows/test.yaml) +[![Go Report Card](https://goreportcard.com/badge/github.com/oasdiff/yaml)](https://goreportcard.com/report/github.com/oasdiff/yaml) +![Latest Tag](https://img.shields.io/github/v/tag/oasdiff/yaml) ## Fork This fork is an improved version of the invopop/yaml package, designed to include line and column location information for YAML elements during unmarshalling. @@ -63,13 +63,13 @@ GOOD: To install, run: ``` -$ go get github.com/invopop/yaml +$ go get github.com/oasdiff/yaml ``` And import using: ``` -import "github.com/invopop/yaml" +import "github.com/oasdiff/yaml" ``` Usage is very similar to the JSON library: @@ -80,7 +80,7 @@ package main import ( "fmt" - "github.com/invopop/yaml" + "github.com/oasdiff/yaml" ) type Person struct { @@ -124,7 +124,7 @@ package main import ( "fmt" - "github.com/invopop/yaml" + "github.com/oasdiff/yaml" ) func main() {