1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00
This commit is contained in:
Vladimir Mihailenco
2014-06-28 14:47:37 +03:00
parent 72a6069cc5
commit 678b8b3667
6 changed files with 64 additions and 50 deletions

View File

@ -17,7 +17,7 @@ var (
//------------------------------------------------------------------------------
func appendCmd(buf []byte, args []string) []byte {
func appendArgs(buf []byte, args []string) []byte {
buf = append(buf, '*')
buf = strconv.AppendUint(buf, uint64(len(args)), 10)
buf = append(buf, '\r', '\n')