Skip to content

Commit bc78285

Browse files
authored
Appended /v2 to Go module (#30)
* Updated module and README * Updated CHANGELOG.md * Updated README.md
1 parent 2a09e17 commit bc78285

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ This project tries to follow [SemVer 2.0.0](https://semver.org/).
1414

1515
## v2.0.0 (WIP)
1616

17+
- BREAKING: Changed module path from `github.com/iver-wharf/wharf-api-client-go`
18+
to `github.com/iver-wharf/wharf-api-client-go/v2`. (#30)
19+
1720
- Removed the `wharfapi.Provider.UploadURL` field, which will be removed from
1821
the `Provider` struct in `github.com/iver-wharf/wharf-api` in v5.0.0. (#21)
1922

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ into the database when importing from GitLab, GitHub, or Azure DevOps.
1313

1414
## Usage
1515

16+
```console
17+
$ go get github.com/iver-wharf/wharf-api-client-go/v2/pkg/wharfapi
18+
```
19+
1620
```go
1721
package main
1822

1923
import (
2024
"fmt"
21-
"github.com/iver-wharf/wharf-api-client-go/pkg/wharfapi"
25+
"github.com/iver-wharf/wharf-api-client-go/v2/pkg/wharfapi"
2226
)
2327

2428
func main() {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/iver-wharf/wharf-api-client-go
1+
module github.com/iver-wharf/wharf-api-client-go/v2
22

33
go 1.13
44

0 commit comments

Comments
 (0)