コード例 #1
0
func TestRedisDo(t *testing.T) {

	// test database configuration
	pwd := ""
	dbPort := 13

	// establish a connection with the database
	Db := new(database.RedisDo)
	Db.Init(pwd, dbPort)
	defer Db.Close()

	testRunnerRedisDo(t, Db)
}