We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3a883 commit c0af7cdCopy full SHA for c0af7cd
src/encoding/encoding.go
@@ -9,6 +9,12 @@
9
// interface once can make a type useful in multiple encodings.
10
// Standard types that implement these interfaces include time.Time and net.IP.
11
// The interfaces come in pairs that produce and consume encoded data.
12
+//
13
+// Adding encoding/decoding methods to existing types may constitute a breaking change,
14
+// as they can be used for serialization in communicating with programs
15
+// written with different library versions.
16
+// The policy for packages maintained by the Go project is to only allow
17
+// the addition of marshaling functions if no existing, reasonable marshaling exists.
18
package encoding
19
20
// BinaryMarshaler is the interface implemented by an object that can
0 commit comments