diff --git a/README.md b/README.md index 88a77ac..e7bdfab 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # `tint`: 🌈 **slog.Handler** that writes tinted logs -[![Go Reference](https://pkg.go.dev/badge/github.com/lmittmann/tint.svg)](https://pkg.go.dev/github.com/lmittmann/tint#section-documentation) -[![Go Report Card](https://goreportcard.com/badge/github.com/lmittmann/tint)](https://goreportcard.com/report/github.com/lmittmann/tint) +[![Go Reference](https://pkg.go.dev/badge/github.com/jylitalo/tint.svg)](https://pkg.go.dev/github.com/jylitalo/tint#section-documentation) +[![Go Report Card](https://goreportcard.com/badge/github.com/jylitalo/tint)](https://goreportcard.com/report/github.com/jylitalo/tint) - - - + + +

@@ -15,11 +15,11 @@ Package `tint` implements a zero-dependency [`slog.Handler`](https://pkg.go.dev/ that writes tinted (colorized) logs. Its output format is inspired by the `zerolog.ConsoleWriter` and [`slog.TextHandler`](https://pkg.go.dev/log/slog#TextHandler). -The output format can be customized using [`Options`](https://pkg.go.dev/github.com/lmittmann/tint#Options) +The output format can be customized using [`Options`](https://pkg.go.dev/github.com/jylitalo/tint#Options) which is a drop-in replacement for [`slog.HandlerOptions`](https://pkg.go.dev/log/slog#HandlerOptions). ``` -go get github.com/lmittmann/tint +go get github.com/jylitalo/tint ``` ## Usage diff --git a/go.mod b/go.mod index 4202982..ab36e99 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/lmittmann/tint +module github.com/jylitalo/tint go 1.21 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e69de29 diff --git a/handler_test.go b/handler_test.go index cd0191b..655b903 100644 --- a/handler_test.go +++ b/handler_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/lmittmann/tint" + "github.com/jylitalo/tint" ) var faketime = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)