Skip to content

Commit

Permalink
docs: Replace function with func in README sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
szktkfm authored Mar 2, 2024
1 parent 976db2b commit 87252e4
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 87252e4

Please sign in to comment.