remove deprecated functions

This commit is contained in:
John
2019-09-06 16:44:40 +08:00
parent 8fd88307f7
commit 0d5dfe59b9
16 changed files with 3 additions and 273 deletions

View File

@ -167,11 +167,3 @@ func (r *Redis) DoVar(command string, args ...interface{}) (*gvar.Var, error) {
v, err := r.Do(command, args...)
return gvar.New(v), err
}
// Deprecated.
// Send writes the command to the client's output buffer.
func (r *Redis) Send(command string, args ...interface{}) error {
conn := &Conn{r.pool.Get()}
defer conn.Close()
return conn.Send(command, args...)
}