This repository was archived by the owner on Jan 15, 2022. It is now read-only.
File tree 32 files changed +37
-38
lines changed
32 files changed +37
-38
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package amqp
3
3
import (
4
4
"fmt"
5
5
"github.com/gofrs/uuid"
6
- "github.com/spiral/jobs"
6
+ "github.com/spiral/jobs/v2 "
7
7
"sync"
8
8
"sync/atomic"
9
9
)
Original file line number Diff line number Diff line change 1
1
package amqp
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
"time"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package amqp
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/stretchr/testify/assert"
7
7
"testing"
8
8
"time"
Original file line number Diff line number Diff line change 1
1
package amqp
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"io"
7
7
"net"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package amqp
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/streadway/amqp"
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package amqp
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/streadway/amqp"
7
7
"os"
8
8
"sync"
Original file line number Diff line number Diff line change 1
1
package amqp
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
)
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package beanstalk
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"sync"
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package beanstalk
2
2
3
3
import (
4
4
"github.com/beanstalkd/go-beanstalk"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/stretchr/testify/assert"
7
7
"testing"
8
8
"time"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package beanstalk
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/stretchr/testify/assert"
7
7
"testing"
8
8
"time"
Original file line number Diff line number Diff line change 1
1
package beanstalk
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"io"
7
7
"net"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package beanstalk
3
3
import (
4
4
"bytes"
5
5
"encoding/gob"
6
- "github.com/spiral/jobs"
6
+ "github.com/spiral/jobs/v2 "
7
7
)
8
8
9
9
func pack (j * jobs.Job ) []byte {
Original file line number Diff line number Diff line change 1
1
package beanstalk
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
"time"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package beanstalk
3
3
import (
4
4
"fmt"
5
5
"github.com/beanstalkd/go-beanstalk"
6
- "github.com/spiral/jobs"
6
+ "github.com/spiral/jobs/v2 "
7
7
"strconv"
8
8
"sync"
9
9
"sync/atomic"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package ephemeral
3
3
import (
4
4
"fmt"
5
5
"github.com/gofrs/uuid"
6
- "github.com/spiral/jobs"
6
+ "github.com/spiral/jobs/v2 "
7
7
"sync"
8
8
)
9
9
Original file line number Diff line number Diff line change 1
1
package ephemeral
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
"time"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package ephemeral
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/stretchr/testify/assert"
7
7
"testing"
8
8
"time"
Original file line number Diff line number Diff line change 1
1
package ephemeral
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"sync"
6
6
"sync/atomic"
7
7
"time"
Original file line number Diff line number Diff line change 1
1
package ephemeral
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package sqs
3
3
import (
4
4
"fmt"
5
5
"github.com/aws/aws-sdk-go/service/sqs"
6
- "github.com/spiral/jobs"
6
+ "github.com/spiral/jobs/v2 "
7
7
"sync"
8
8
)
9
9
Original file line number Diff line number Diff line change 1
1
package sqs
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
"time"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package sqs
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/spiral/jobs"
5
+ "github.com/spiral/jobs/v2 "
6
6
"github.com/stretchr/testify/assert"
7
7
"testing"
8
8
"time"
Original file line number Diff line number Diff line change 1
1
package sqs
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"io"
7
7
"net"
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"github.com/aws/aws-sdk-go/aws"
6
6
"github.com/aws/aws-sdk-go/service/sqs"
7
- "github.com/spiral/jobs"
7
+ "github.com/spiral/jobs/v2 "
8
8
"strconv"
9
9
"time"
10
10
)
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"github.com/aws/aws-sdk-go/aws"
6
6
"github.com/aws/aws-sdk-go/service/sqs"
7
- "github.com/spiral/jobs"
7
+ "github.com/spiral/jobs/v2 "
8
8
"strconv"
9
9
"sync"
10
10
"sync/atomic"
Original file line number Diff line number Diff line change 1
1
package sqs
2
2
3
3
import (
4
- "github.com/spiral/jobs"
4
+ "github.com/spiral/jobs/v2 "
5
5
"github.com/stretchr/testify/assert"
6
6
"testing"
7
7
)
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"fmt"
25
25
"github.com/sirupsen/logrus"
26
26
"github.com/spf13/cobra"
27
- "github.com/spiral/jobs"
27
+ "github.com/spiral/jobs/v2 "
28
28
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
29
29
"github.com/spiral/roadrunner/cmd/util"
30
30
"time"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ package jobs
23
23
import (
24
24
"github.com/prometheus/client_golang/prometheus"
25
25
"github.com/spf13/cobra"
26
- "github.com/spiral/jobs"
26
+ "github.com/spiral/jobs/v2 "
27
27
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
28
28
"github.com/spiral/roadrunner/service/metrics"
29
29
"github.com/spiral/roadrunner/util"
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
25
25
"github.com/dustin/go-humanize"
26
26
"github.com/olekukonko/tablewriter"
27
27
"github.com/spf13/cobra"
28
- "github.com/spiral/jobs"
28
+ "github.com/spiral/jobs/v2 "
29
29
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
30
30
"github.com/spiral/roadrunner/cmd/util"
31
31
"net/rpc"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ package jobs
23
23
import (
24
24
tm "github.com/buger/goterm"
25
25
"github.com/spf13/cobra"
26
- "github.com/spiral/jobs"
26
+ "github.com/spiral/jobs/v2 "
27
27
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
28
28
"github.com/spiral/roadrunner/cmd/util"
29
29
"net/rpc"
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "github.com/spiral/jobs"
5
- "github.com/spiral/jobs/broker/amqp"
6
- "github.com/spiral/jobs/broker/beanstalk"
7
- "github.com/spiral/jobs/broker/ephemeral"
8
- "github.com/spiral/jobs/broker/sqs"
4
+ "github.com/spiral/jobs/v2 "
5
+ "github.com/spiral/jobs/v2/ broker/amqp"
6
+ "github.com/spiral/jobs/v2/ broker/beanstalk"
7
+ "github.com/spiral/jobs/v2/ broker/ephemeral"
8
+ "github.com/spiral/jobs/v2/ broker/sqs"
9
9
10
10
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
11
11
"github.com/spiral/roadrunner/service/limit"
12
12
"github.com/spiral/roadrunner/service/metrics"
13
13
"github.com/spiral/roadrunner/service/rpc"
14
14
15
- _ "github.com/spiral/jobs/cmd/rr-jobs/jobs"
15
+ _ "github.com/spiral/jobs/v2/ cmd/rr-jobs/jobs"
16
16
)
17
17
18
18
func main () {
Original file line number Diff line number Diff line change 1
- module github.com/spiral/jobs
1
+ module github.com/spiral/jobs/v2
2
2
3
3
go 1.14
4
4
@@ -8,7 +8,6 @@ require (
8
8
github.com/buger/goterm v0.0.0-20181115115552-c206103e1f37
9
9
github.com/dustin/go-humanize v1.0.0
10
10
github.com/gofrs/uuid v3.2.0+incompatible
11
- github.com/kr/beanstalk v0.0.0-20180818045031-cae1762e4858
12
11
github.com/olekukonko/tablewriter v0.0.4
13
12
github.com/prometheus/client_golang v1.5.0
14
13
github.com/sirupsen/logrus v1.4.2
You can’t perform that action at this time.
0 commit comments