Selaa lähdekoodia

Merge pull request #12 from 29decibel/master

fix typo in ReadJSON deprecated comments
Gary Burd 12 vuotta sitten
vanhempi
commit
7274f97ac5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
 }