From 87252e4b6fe8ac6e0378a5f6bd10c81cf016478f Mon Sep 17 00:00:00 2001 From: szktkfm Date: Sun, 3 Mar 2024 02:17:51 +0900 Subject: [PATCH] docs: Replace function with func in README sample code --- 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) }