Skip to content

Commit

Permalink
Renaming fork
Browse files Browse the repository at this point in the history
  • Loading branch information
jazibjohar committed May 5, 2023
1 parent 0c59ddb commit 2114a32
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Simple [Resque](https://github.com/resque/resque) queue client for [Go](http://g
This is a fork of [go-resque](https://github.com/kavu/go-resque) (one of many).

Differences from the original are:

- it is a Go module
- travis config is updated to use newer Go versions
- all drivers except one removed
Expand All @@ -19,7 +20,7 @@ Differences from the original are:
Installation is simple and familiar for Go programmers:

```
go get github.com/skaurus/go-resque
go get github.com/jazibjohar/go-resque
```

## Usage
Expand All @@ -45,8 +46,8 @@ import (
"context"

"github.com/go-redis/redis/v9" // Redis client from go-redis package
"github.com/skaurus/go-resque" // Import this package
_ "github.com/skaurus/go-resque/redis.v9" // Use go-redis v9
"github.com/jazibjohar/go-resque" // Import this package
_ "github.com/jazibjohar/go-resque/redis.v9" // Use go-redis v9
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/go-redis/redis/v9" // Redis client from go-redis package

"github.com/skaurus/go-resque" // Import this package
_ "github.com/skaurus/go-resque/redis.v9" // Use go-redis v9
"github.com/jazibjohar/go-resque" // Import this package
_ "github.com/jazibjohar/go-resque/redis.v9" // Use go-redis v9
)

func main() {
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/skaurus/go-resque
module github.com/jazibjohar/go-resque

go 1.18

Expand Down
4 changes: 2 additions & 2 deletions redis.v9/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"time"

"github.com/go-redis/redis/v9"
"github.com/skaurus/go-resque"
"github.com/skaurus/go-resque/driver"
"github.com/jazibjohar/go-resque"
"github.com/jazibjohar/go-resque/driver"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion resque.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"time"

"github.com/skaurus/go-resque/driver"
"github.com/jazibjohar/go-resque/driver"
)

var drivers = make(map[string]driver.Enqueuer)
Expand Down

0 comments on commit 2114a32

Please sign in to comment.