Skip to content
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

Better argument parsing #49

Closed
wants to merge 34 commits into from
Closed

Better argument parsing #49

wants to merge 34 commits into from

Conversation

Andrew-Morozko
Copy link
Contributor

@Andrew-Morozko Andrew-Morozko commented Jan 24, 2024

Swithched from default go flag parser to https://github.com/alexflint/go-arg.

Nicer help messages, etc. Some quick PR after the parser mess

+ A limiter deadlock fix
2 times smaller and faster than google's version, allows for garbage collection after function execution
Seems like we won't really need them. Still a better performing version of sync.Once*, worth a PR to golang
I know that "utils" is a bad name, but it's such a basic string and function code.
Might as well call it "stdlib forgot this"
Mostly avoidng loop variable capture by using the new utils to apply functions.
Disabling gomnd, too annoying
(conforming to the spec)
Base automatically changed from parser_v2 to main January 29, 2024 13:03
@Andrew-Morozko
Copy link
Contributor Author

Replaced by #58

@Andrew-Morozko Andrew-Morozko deleted the argParsing branch January 29, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants