-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
pcap support #48
pcap support #48
Conversation
Thank you for your contribution! |
NOTE: |
resolved cross-compile issue by 8226c64 |
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
@karupanerura Is it okay to merge this PR? |
ah! plz wait a moment. I'll fixed #49 now. |
} | ||
u.RawQuery = values.Encode() | ||
} else { | ||
u.RawQuery = u.Query().Encode() // re-encode to sort queries |
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.
I just found out that Encode can sort query parameters.
https://pkg.go.dev/net/url#Values.Encode
Encode encodes the values into “URL encoded” form ("bar=baz&foo=quux") sorted by key.
https://cs.opensource.google/go/go/+/refs/tags/go1.16.6:src/net/url/url.go;l=972
@tkuchiki All done! |
Thanks! |
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
@karupanerura Thank you so much! |
OK. Thank you! |
@karupanerura v1.0.6 has been released 🎉 |
please see readme for details.
Remaining issues
--pos
options is not yet supported