Skip to content

Commit 4c7817f

Browse files
update module references
1 parent f15cab5 commit 4c7817f

44 files changed

Lines changed: 167 additions & 128 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See [example](https://github.com/pivotal-cf/go-pivnet/blob/master/example/main.g
1717
for an executable example.
1818

1919
```go
20-
import pivnet github.com/pivotal-cf/go-pivnet/v7
20+
import pivnet github.com/pivotal-cf/go-pivnet/v9
2121

2222
[...]
2323

artifact_references_test.go

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ package pivnet_test
22

33
import (
44
"fmt"
5-
"github.com/onsi/gomega/ghttp"
6-
"github.com/pivotal-cf/go-pivnet/v7"
7-
"github.com/pivotal-cf/go-pivnet/v7/go-pivnetfakes"
8-
"github.com/pivotal-cf/go-pivnet/v7/logger"
9-
"github.com/pivotal-cf/go-pivnet/v7/logger/loggerfakes"
105
"net/http"
116

7+
"github.com/onsi/gomega/ghttp"
8+
9+
"github.com/pivotal-cf/go-pivnet/v9"
10+
"github.com/pivotal-cf/go-pivnet/v9/go-pivnetfakes"
11+
"github.com/pivotal-cf/go-pivnet/v9/logger"
12+
"github.com/pivotal-cf/go-pivnet/v9/logger/loggerfakes"
13+
1214
. "github.com/onsi/ginkgo"
1315
. "github.com/onsi/gomega"
1416
)
@@ -145,9 +147,9 @@ var _ = Describe("PivnetClient - artifact references", func() {
145147
Name: "something",
146148
},
147149
{
148-
ID: 2345,
149-
Name: "something-else",
150-
ReleaseVersions: []string{"1.0.0","1.2.3"},
150+
ID: 2345,
151+
Name: "something-else",
152+
ReleaseVersions: []string{"1.0.0", "1.2.3"},
151153
},
152154
}}
153155

auth_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import (
55
"net/http"
66

77
"github.com/onsi/gomega/ghttp"
8-
"github.com/pivotal-cf/go-pivnet/v7"
9-
"github.com/pivotal-cf/go-pivnet/v7/logger"
10-
"github.com/pivotal-cf/go-pivnet/v7/logger/loggerfakes"
8+
9+
"github.com/pivotal-cf/go-pivnet/v9"
10+
"github.com/pivotal-cf/go-pivnet/v9/logger"
11+
"github.com/pivotal-cf/go-pivnet/v9/logger/loggerfakes"
1112

1213
. "github.com/onsi/ginkgo"
1314
. "github.com/onsi/gomega"

dependency_specifiers_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ package pivnet_test
22

33
import (
44
"fmt"
5-
"github.com/pivotal-cf/go-pivnet/v7/go-pivnetfakes"
65
"net/http"
76

7+
"github.com/pivotal-cf/go-pivnet/v9/go-pivnetfakes"
8+
89
"github.com/onsi/gomega/ghttp"
9-
"github.com/pivotal-cf/go-pivnet/v7"
10-
"github.com/pivotal-cf/go-pivnet/v7/logger"
11-
"github.com/pivotal-cf/go-pivnet/v7/logger/loggerfakes"
10+
11+
"github.com/pivotal-cf/go-pivnet/v9"
12+
"github.com/pivotal-cf/go-pivnet/v9/logger"
13+
"github.com/pivotal-cf/go-pivnet/v9/logger/loggerfakes"
1214

1315
. "github.com/onsi/ginkgo"
1416
. "github.com/onsi/gomega"

download/downloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/shirou/gopsutil/disk"
1616
"golang.org/x/sync/errgroup"
1717

18-
"github.com/pivotal-cf/go-pivnet/v7/logger"
18+
"github.com/pivotal-cf/go-pivnet/v9/logger"
1919
)
2020

2121
//go:generate counterfeiter -o ./fakes/ranger.go --fake-name Ranger . ranger

download/downloader_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ package download_test
22

33
import (
44
"errors"
5+
"fmt"
56
"io"
67
"io/ioutil"
8+
"math"
9+
"net"
710
"net/http"
811
"net/url"
12+
"os"
913
"strings"
1014
"sync"
11-
12-
"github.com/pivotal-cf/go-pivnet/v7/download"
13-
"github.com/pivotal-cf/go-pivnet/v7/download/fakes"
14-
15-
"fmt"
16-
"math"
17-
"net"
18-
"os"
1915
"syscall"
2016
"time"
2117

18+
"github.com/pivotal-cf/go-pivnet/v9/download"
19+
"github.com/pivotal-cf/go-pivnet/v9/download/fakes"
20+
2221
. "github.com/onsi/ginkgo"
2322
. "github.com/onsi/gomega"
24-
"github.com/pivotal-cf/go-pivnet/v7/logger/loggerfakes"
23+
24+
"github.com/pivotal-cf/go-pivnet/v9/logger/loggerfakes"
2525
)
2626

2727
type EOFReader struct{}

download/fakes/ranger.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

download/progress_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"golang.org/x/sync/errgroup"
88

9-
"github.com/pivotal-cf/go-pivnet/v7/download"
9+
"github.com/pivotal-cf/go-pivnet/v9/download"
1010

1111
. "github.com/onsi/ginkgo"
1212
. "github.com/onsi/gomega"

download/ranger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package download_test
33
import (
44
"net/http"
55

6-
"github.com/pivotal-cf/go-pivnet/v7/download"
6+
"github.com/pivotal-cf/go-pivnet/v9/download"
77

88
. "github.com/onsi/ginkgo"
99
. "github.com/onsi/gomega"

eulas_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ package pivnet_test
22

33
import (
44
"fmt"
5-
"github.com/pivotal-cf/go-pivnet/v7/go-pivnetfakes"
65
"net/http"
76

7+
"github.com/pivotal-cf/go-pivnet/v9/go-pivnetfakes"
8+
89
"github.com/onsi/gomega/ghttp"
9-
"github.com/pivotal-cf/go-pivnet/v7"
10-
"github.com/pivotal-cf/go-pivnet/v7/logger"
11-
"github.com/pivotal-cf/go-pivnet/v7/logger/loggerfakes"
10+
11+
"github.com/pivotal-cf/go-pivnet/v9"
12+
"github.com/pivotal-cf/go-pivnet/v9/logger"
13+
"github.com/pivotal-cf/go-pivnet/v9/logger/loggerfakes"
1214

1315
. "github.com/onsi/ginkgo"
1416
. "github.com/onsi/gomega"

0 commit comments

Comments
 (0)