From afa204d923eef360ee48bc426c50cb283ea3dd96 Mon Sep 17 00:00:00 2001 From: nellfs <59851660+nellfs@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:27:01 -0300 Subject: [PATCH] docs: fix examples (#94) --- README.md | 2 +- examples/log/log.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ad10b9..65c0977 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ logger := log.NewWithOptions(os.Stderr, log.Options{ ReportCaller: true, ReportTimestamp: true, TimeFormat: time.Kitchen, - Prefix: "Baking 🍪 " + Prefix: "Baking 🍪 ", }) logger.Info("Starting oven!", "degree", 375) time.Sleep(10 * time.Minute) diff --git a/examples/log/log.go b/examples/log/log.go index 80f81e8..d8669f2 100644 --- a/examples/log/log.go +++ b/examples/log/log.go @@ -1,6 +1,6 @@ package main -import "log" +import "github.com/charmbracelet/log" func main() { log.Print("Baking 101")