Conversation
|
@vearutop please review my changes, thanks. |
| // of tested package. | ||
| // | ||
| // Returns the path to generated executable | ||
| func Build(bin string) error { |
There was a problem hiding this comment.
Removing this function would be a breaking change, let's deprecate it instead.
There was a problem hiding this comment.
when add // Deprecated: use xxxx instead we should tell user which function to instead ?
There was a problem hiding this comment.
You can use something free formed like // Deprecated: feature will be removed, no substitute. The message comes from your reasoning why you wanted to remove that function in the first place.
It's ok to keep it as is for now.
|
Hi, thank you, this change seems like a safe simplification. Please restore the |
sorry, I don't know which function to instead the |
Codecov Report
@@ Coverage Diff @@
## main #564 +/- ##
=======================================
Coverage 82.96% 82.96%
=======================================
Files 28 28
Lines 3375 3375
=======================================
Hits 2800 2800
Misses 461 461
Partials 114 114
|
…ake all methods have value receivers. 2. fix the syntax error in the comment 3. remove unused function Build Signed-off-by: longyue0521 <longyueli0521@gmail.com>
Signed-off-by: longyue0521 <longyueli0521@gmail.com>
Signed-off-by: longyue0521 <longyueli0521@gmail.com>
|
Hi @longyue0521, Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾 In return for this generous offer we hope you will:
On behalf of the Cucumber core team, |
🤔 What's changed?
⚡️ What's your motivation?
make the code more cleanable, readable, more compliant with Go language specifications
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.