-
Notifications
You must be signed in to change notification settings - Fork 18k
encoding/xml: undocumented Reset method #6125
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
Labels
Milestone
Comments
Please, no one start working on this. I have many pending changes to the xml package and will do this once they are in. Owner changed to @rsc. Status changed to Started. |
There are two bugs here. One is fixing godoc to reflect reality, using go/types. I filed issue #6127 for that. This bug is about hiding the embedded methods from the xml package. This commit shows the always-there-but-never-promised methods that we now know about: https://code.google.com/p/go/source/detail?r=f5b37c93e4c5bb2962c pkg encoding/xml, method (Encoder) Available() int pkg encoding/xml, method (Encoder) Buffered() int pkg encoding/xml, method (Encoder) Flush() error pkg encoding/xml, method (Encoder) Write([]uint8) (int, error) pkg encoding/xml, method (Encoder) WriteByte(uint8) error pkg encoding/xml, method (Encoder) WriteRune(int32) (int, error) pkg encoding/xml, method (Encoder) WriteString(string) (int, error) We could technically remove those (we never promised them, and they were never documented), but it could maybe break code, if people somehow knew about them. |
This issue was closed by revision 85f3acd. Status changed to Fixed. |
This issue was closed by revision 56ce83f. |
This issue was closed by revision 54bdfc0. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: