-
Notifications
You must be signed in to change notification settings - Fork 919
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
encode: decode
T_text into a string
#436
Conversation
I had explained in some issue why we're not allowed to do this, but I can't find it anymore. The only thing I could find was cbandy's comment at the end of #300. |
Well, per https://go-review.googlesource.com/#/c/19439/ this isn't going anywhere. |
Reopened as an alternative to #300 now that https://go-review.googlesource.com/#/c/19439/ is merged in golang/go@7162c4d. |
@johto ping! |
Excellent. We should not forget the other character types. As we make this transition (or maybe before?) we should probably tackle #404, so we can point to the docs if/when users notice this change. Based on comments in the CL, it looks like the change to |
I'll take a look at #404 when I have more time, but I don't see any reason As for persevering the old behavior - I don't think there's any reason to
|
@uhoh-itsmaciek could you take a look at this one? the upstream change was a documentation change, so while it will be included in 1.7, it should be safe to merge this even for use in versions prior to 1.7. |
@tamird sure, but I won't have time for it till next week. |
@tamird How about |
seems reasonable to add those. Done. |
This allows the caller to distinguish strings from byte arrays.
@uhoh-itsmaciek this is green and ready for another look, when you get a chance. |
LGTM |
Looks good. Thanks! |
This allows the caller to distinguish strings from byte arrays.