panjf2000 / gnet

🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
https://gnet.host
Apache License 2.0
9.7k stars 1.04k forks source link

chore: rename some parameters #656

Closed panjf2000 closed 2 weeks ago

panjf2000 commented 2 weeks ago

interface{} --> any itf/i --> a queue.TaskFunc --> queue.Func queue.Run --> queue.Exec arg --> parameter

Also, update some comments to make more sense.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 78.82%. Comparing base (a0c9787) to head (47ab6a3). Report is 1 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #656 +/- ## ======================================= Coverage 78.82% 78.82% ======================================= Files 21 21 Lines 2546 2546 ======================================= Hits 2007 2007 Misses 420 420 Partials 119 119 ``` | [Flag](https://app.codecov.io/gh/panjf2000/gnet/pull/656/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/panjf2000/gnet/pull/656/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | `78.82% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#carryforward-flags-in-the-pull-request-comment) to find out more.

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