github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/prepare/04_database/demo3_redis/redis_op_test.go (about)

     1  package demo3_redis
     2  
     3  import "testing"
     4  
     5  func TestOpen(t *testing.T) {
     6  	open()
     7  }
     8  
     9  func TestGetSet(t *testing.T) {
    10  	getSet()
    11  }
    12  
    13  func TestMgetmset(t *testing.T) {
    14  	mgetmset()
    15  }
    16  func TestList(t *testing.T) {
    17  	list()
    18  }
    19  func TestHash(t *testing.T) {
    20  	hash()
    21  }
    22  
    23  func TestPipelining(t *testing.T) {
    24  	pipelining()
    25  }