Explorar o código

fix typo in ReadJSON deprecated comments

Mike Li %!s(int64=12) %!d(string=hai) anos
pai
achega
ccedd444b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      json.go

+ 1 - 1
json.go

@@ -30,7 +30,7 @@ func (c *Conn) WriteJSON(v interface{}) error {
 	return err2
 }
 
-// DEPRECATED: use c.WriteJSON instead.
+// DEPRECATED: use c.ReadJSON instead.
 func ReadJSON(c *Conn, v interface{}) error {
 	return c.ReadJSON(v)
 }