From 5a471a245f5db86e0468e3382bbcc76d871f8cbf Mon Sep 17 00:00:00 2001 From: szktkfm Date: Sat, 2 Mar 2024 23:09:33 +0900 Subject: [PATCH] Correct function keyword in sample code within README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d1fb23..4558f76 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,7 @@ Skip caller frames in helper functions. Similar to what you can do with `testing.TB().Helper()`. ```go -function startOven(degree int) { +func startOven(degree int) { log.Helper() log.Info("Starting oven", "degree", degree) }