Skip to content

Commit

Permalink
docs: fix examples (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
nellfs authored Nov 27, 2023
1 parent f36448c commit afa204d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/log/log.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "log"
import "github.com/charmbracelet/log"

func main() {
log.Print("Baking 101")
Expand Down

0 comments on commit afa204d

Please sign in to comment.