Skip to content

Commit afa204d

Browse files
authored
docs: fix examples (#94)
1 parent f36448c commit afa204d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ logger := log.NewWithOptions(os.Stderr, log.Options{
168168
ReportCaller: true,
169169
ReportTimestamp: true,
170170
TimeFormat: time.Kitchen,
171-
Prefix: "Baking 🍪 "
171+
Prefix: "Baking 🍪 ",
172172
})
173173
logger.Info("Starting oven!", "degree", 375)
174174
time.Sleep(10 * time.Minute)

‎examples/log/log.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "log"
3+
import "github.com/charmbracelet/log"
44

55
func main() {
66
log.Print("Baking 101")

0 commit comments

Comments
 (0)
⌂ 换网址