-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add support for url.URL argument type #37
Comments
Is "Reader read from url", #34, what you are looking for? If yes, take a look at |
Not at all. I'm talking about situations of: with args struct:
|
Oh, ok. Is |
Something new compared to what? It's an stdlib type ( |
@mkideal is not active nowadays as he used to be. I mean, you'll have better chances if you submit a PR, with some well-thought test cases covered. |
I have decided to abstain from PRs on github these days. :-) Everybody says, "submit a PR", but when someone does it always deteriorates into a never ending PR-ball, which usually makes a rather lousy pastime. |
oh, that's an odd story, but good to hear. |
Urls are pretty common args to go apps and it makes sense to support url validation early on. The alternative is to rely on rather ugly boilerplate in all apps in need of that feature.
The example of ugly boilerplate that better be hidden inside the lib:
The text was updated successfully, but these errors were encountered: