-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: add divide
subcommand
#100
feature: add divide
subcommand
#100
Conversation
Hey @Phaze228, thank you very much for submitting this pull request. Give me a couple working days (I'll be out over the weekend) to review this. Your contribution is much appreciated! 👏🏼 |
Not a problem, I may clean up a few things, over the weekend. Notably, missing the core_test.go file was testing the AddressCount function, and a few other little things the auto-analyzer is yelling at. But functionally, it seems good. |
…, cleaned up some of the output
I will say, it's a little rude of the linter to point out my mistakes without files and line numbers. |
I've updated your branch to include 7d286eb. In v6.0.1 of the golangci-lint-action they stopped setting the output format to |
Beautiful. Thank you. |
…ext-divide "updated with linter"
Textual changes. Co-authored-by: Bruno Schaatsbergen <[email protected]>
…formatter | formatter: Added simple number formatter
I'm very excited to get this merged, thanks for your hard work. It's just a few minor tweaks we need to make. |
@mmourick requesting your review too 👍🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! This looks like a great addition to cidr
!
I've left a few small nitpicks, but besides that I think it's almost good to go. Just need to run gofmt
as currently golangci-lint
is failing.
Co-authored-by: Mathijs van Mourick <[email protected]>
Took in everyone's suggestions. Minus removing the shortened -H for hosts flag. My preference is for it, but you guys can adjust it if you want before merging. |
Hey @Phaze228, update: I'm working locally on your branch 👍🏼 |
Alrighty, sounds good. Let me know if you need anything. |
divide
subcommand
Hey @Phaze228, apologies for the slower review cycle. Work has been a bit hectic lately. I trimmed down this pull request to just include the Could you please elaborate on one thing? I’m curious about why we introduced a format function and what issues were found with the existing formatting. The previous implementation seemed less complex and didn’t have any issues, as far as I can recall. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
It appears that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Thank you for your hard work on this, @Phaze228! It’s greatly appreciated 👏🏼! |
What
divide
Closes #89