Skip to content

Commit eadc5b1

Browse files
committed
pipeline
2 parents e4cd09d + b10514a commit eadc5b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

redispipeline/pipeline.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1+
<<<<<<< HEAD
12
package RedisCtrl
3+
=======
4+
package main
5+
>>>>>>> b10514a02d9a0e099da7f19f0668315ba13a44c4
26

37
import (
48
"fmt"
59

610
"github.com/garyburd/redigo/redis"
711
)
812

13+
<<<<<<< HEAD
914
func DoRedis(c redis.Conn) {
15+
=======
16+
func main() {
17+
c, _ := redis.Dial("tcp", "localhost:6379")
18+
>>>>>>> b10514a02d9a0e099da7f19f0668315ba13a44c4
1019
c.Send("MULTI")
1120
c.Send("INCR", "foo0")
1221
c.Send("INCR", "foo1")

0 commit comments

Comments
 (0)