Skip to content

Commit

Permalink
Update import path
Browse files Browse the repository at this point in the history
  • Loading branch information
ammario committed Jan 11, 2024
1 parent d616cb5 commit bb83ae2
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 24 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# redjet
[![Go Reference](https://pkg.go.dev/badge/github.com/ammario/redjet.svg)](https://pkg.go.dev/github.com/ammario/redjet)
![ci](https://github.com/ammario/redjet/actions/workflows/ci.yaml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/ammario/redjet/badge.svg)](https://coveralls.io/github/ammario/redjet)
[![Go Report Card](https://goreportcard.com/badge/github.com/ammario/redjet)](https://goreportcard.com/report/github.com/ammario/redjet)
[![Go Reference](https://pkg.go.dev/badge/github.com/coder/redjet.svg)](https://pkg.go.dev/github.com/coder/redjet)
![ci](https://github.com/coder/redjet/actions/workflows/ci.yaml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/coder/redjet/badge.svg)](https://coveralls.io/github/coder/redjet)
[![Go Report Card](https://goreportcard.com/badge/github.com/coder/redjet)](https://goreportcard.com/report/github.com/coder/redjet)



Expand All @@ -23,14 +23,15 @@ is really a Pipeline of size 1.
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**

- [Basic Usage](#basic-usage)
- [Streaming](#streaming)
- [Pipelining](#pipelining)
- [PubSub](#pubsub)
- [JSON](#json)
- [Connection Pooling](#connection-pooling)
- [Benchmarks](#benchmarks)
- [Limitations](#limitations)
- [redjet](#redjet)
- [Basic Usage](#basic-usage)
- [Streaming](#streaming)
- [Pipelining](#pipelining)
- [PubSub](#pubsub)
- [JSON](#json)
- [Connection Pooling](#connection-pooling)
- [Benchmarks](#benchmarks)
- [Limitations](#limitations)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand All @@ -39,7 +40,7 @@ is really a Pipeline of size 1.
Install:

```bash
go get github.com/ammario/redjet@latest
go get github.com/coder/redjet@latest
```

For the most part, you can interact with Redis using a familiar interface:
Expand All @@ -52,7 +53,7 @@ import (
"fmt"
"log"

"github.com/ammario/redjet"
"github.com/coder/redjet"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion bench/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/ammario/redjet"
"github.com/coder/redjet"
"github.com/dustin/go-humanize"
redigo "github.com/gomodule/redigo/redis"
goredis "github.com/redis/go-redis/v9"
Expand Down
6 changes: 3 additions & 3 deletions bench/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module github.com/ammario/redjet/bench
module github.com/coder/redjet/bench

go 1.20

// The benchmarks are separated into its own module to avoid ballooning
// the main package with other Redis library dependencies.

require (
github.com/ammario/redjet v0.0.0-20230703191230-a607112e096c
github.com/coder/redjet v0.0.0-20230703191230-a607112e096c
github.com/stretchr/testify v1.8.4
)

replace github.com/ammario/redjet => ../
replace github.com/coder/redjet => ../

require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"testing"
"time"

"github.com/ammario/redjet"
"github.com/ammario/redjet/redtest"
"github.com/coder/redjet"
"github.com/coder/redjet/redtest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.uber.org/goleak"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ammario/redjet
module github.com/coder/redjet

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion redcache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"time"

"github.com/ammario/redjet"
"github.com/coder/redjet"
)

// Cache is a simple cache implementation using Redis as a backend.
Expand Down
2 changes: 1 addition & 1 deletion redcache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/ammario/redjet/redtest"
"github.com/coder/redjet/redtest"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion redtest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"testing"
"time"

"github.com/ammario/redjet"
"github.com/coder/redjet"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit bb83ae2

Please sign in to comment.