forked from mirror/websocket
fix typo in ReadJSON deprecated comments
This commit is contained in:
parent
f273336ae2
commit
ccedd444b5
2
json.go
2
json.go
|
@ -30,7 +30,7 @@ func (c *Conn) WriteJSON(v interface{}) error {
|
||||||
return err2
|
return err2
|
||||||
}
|
}
|
||||||
|
|
||||||
// DEPRECATED: use c.WriteJSON instead.
|
// DEPRECATED: use c.ReadJSON instead.
|
||||||
func ReadJSON(c *Conn, v interface{}) error {
|
func ReadJSON(c *Conn, v interface{}) error {
|
||||||
return c.ReadJSON(v)
|
return c.ReadJSON(v)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue