Skip to content

Commit

Permalink
Correct function keyword in sample code within README
Browse files Browse the repository at this point in the history
  • Loading branch information
szktkfm committed Mar 2, 2024
1 parent 976db2b commit 5a471a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5a471a2

Please sign in to comment.