From 87c47dbd0f7c85bd36a59a4348579fc413449ad5 Mon Sep 17 00:00:00 2001 From: TJ Hoplock Date: Wed, 4 Dec 2024 23:54:10 -0500 Subject: [PATCH 1/2] docs(README): add badgez Signed-off-by: TJ Hoplock --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index dcf1247..22684bf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![license](https://img.shields.io/github/license/tjhop/slog-gokit)](https://github.com/tjhop/slog-gokit/blob/master/LICENSE) +[![Go Report Card](https://goreportcard.com/badge/github.com/tjhop/slog-gokit)](https://goreportcard.com/report/github.com/tjhop/slog-gokit) +[![golangci-lint](https://github.com/tjhop/slog-gokit/actions/workflows/golangci-lint.yaml/badge.svg)](https://github.com/tjhop/slog-gokit/actions/workflows/golangci-lint.yaml) +[![Latest Release](https://img.shields.io/github/v/release/tjhop/slog-gokit)](https://github.com/tjhop/slog-gokit/releases/latest) + # Go slog-gokit Adapter This library provides a custom slog.Handler that wraps a go-kit Logger, so that loggers created via `slog.New()` chain their log calls to the internal go-kit Logger. From 5da4124ef43b6d745d4d5c62b17ff84438d8d0b3 Mon Sep 17 00:00:00 2001 From: TJ Hoplock Date: Wed, 4 Dec 2024 23:54:34 -0500 Subject: [PATCH 2/2] docs(README): add link to go mod docs Signed-off-by: TJ Hoplock --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 22684bf..6addd47 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ This library provides a custom slog.Handler that wraps a go-kit Logger, so that go get github.com/tjhop/slog-gokit ``` +## Documentation + +Documentation can be found here: + +https://pkg.go.dev/github.com/tjhop/slog-gokit + ## Example ```go