charmbracelet / log

A minimal, colorful Go logging library 🪵
MIT License
2.4k stars 67 forks source link

docs: Replace `function` with `func` in README sample code #109

Closed szktkfm closed 8 months ago

szktkfm commented 8 months ago

Replaced function with func in the sample code snippet within the README.

I made this change because I thought it was a typo, since function is not recognized by Go. However, if you have a particular reason for using function in this context, you may ignore this PR.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.36%. Comparing base (2338a13) to head (5a471a2). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #109 +/- ## ========================================== - Coverage 80.92% 80.36% -0.56% ========================================== Files 11 11 Lines 739 652 -87 ========================================== - Hits 598 524 -74 + Misses 126 112 -14 - Partials 15 16 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

aymanbagabas commented 8 months ago

Thank you @szktkfm!