From 79c139d4b960b5d8dbf84a8567e49afa7243fdef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Thu, 29 Sep 2022 21:51:37 +0100 Subject: [PATCH] Add pkg.go.dev badge to README --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8c93062..eb81134 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,7 @@ go-junit-report is a tool that converts [`go test`] output to a JUnit compatible XML report, suitable for use with applications such as [Jenkins]. [![Build status][github-actions-badge]][github-actions-link] - -The test output parser and JUnit XML report generator are also available as Go -packages. This can be helpful if you want to create your own custom JUnit -reports for example. See the package documentation on pkg.go.dev for more -information: - -- [github.com/jstemmer/go-junit-report/v2/parser/gotest] -- [github.com/jstemmer/go-junit-report/v2/junit] +[![Go Reference](https://pkg.go.dev/badge/github.com/jstemmer/go-junit-report/v2.svg)](https://pkg.go.dev/github.com/jstemmer/go-junit-report/v2) ## Install from package (recommended) @@ -85,6 +78,16 @@ Run `go-junit-report -help` for a list of all supported flags. | `-subtest-mode` | set subtest `mode`, modes are: `ignore-parent-results`, `exclude-parents` | | `-version` | print version and exit | +## Go packages + +The test output parser and JUnit XML report generator are also available as Go +packages. This can be helpful if you want to use the `go test` output parser or +create your own custom JUnit reports for example. See the package documentation +on pkg.go.dev for more information: + +- [github.com/jstemmer/go-junit-report/v2/parser/gotest] +- [github.com/jstemmer/go-junit-report/v2/junit] + ## Changelog ### v2.0.0