Skip to content

Commit 2aaee79

Browse files
authored
Appended /v5 to Go module (#128)
* Appended /v5 to Go module * Updated CHANGELOG.md
1 parent 2a3db7f commit 2aaee79

38 files changed

+103
-100
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
## v5.0.0 (WIP)
1616

17+
- BREAKING: Changed module path from `github.com/iver-wharf/wharf-api` to
18+
`github.com/iver-wharf/wharf-api/v5`. (#128)
19+
1720
- BREAKING: Removed all deprecated environment variable configs, which were
1821
marked as deprecated in v4.2.0/#38. Now all environment variables require the
1922
`WHARF_` prefix. (#87)

artifact.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import (
99
"path/filepath"
1010

1111
"github.com/gin-gonic/gin"
12-
"github.com/iver-wharf/wharf-api/internal/ctxparser"
13-
"github.com/iver-wharf/wharf-api/internal/wherefields"
14-
"github.com/iver-wharf/wharf-api/pkg/model/database"
15-
"github.com/iver-wharf/wharf-api/pkg/model/response"
16-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
17-
"github.com/iver-wharf/wharf-api/pkg/orderby"
12+
"github.com/iver-wharf/wharf-api/v5/internal/ctxparser"
13+
"github.com/iver-wharf/wharf-api/v5/internal/wherefields"
14+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
15+
"github.com/iver-wharf/wharf-api/v5/pkg/model/response"
16+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
17+
"github.com/iver-wharf/wharf-api/v5/pkg/orderby"
1818
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1919
"gorm.io/gorm"
2020
)

branch.go

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

7-
"github.com/iver-wharf/wharf-api/internal/ptrconv"
8-
"github.com/iver-wharf/wharf-api/pkg/model/database"
9-
"github.com/iver-wharf/wharf-api/pkg/model/request"
10-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
7+
"github.com/iver-wharf/wharf-api/v5/internal/ptrconv"
8+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
9+
"github.com/iver-wharf/wharf-api/v5/pkg/model/request"
10+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
1111
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1212

1313
"github.com/gin-gonic/gin"

build.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ import (
1616
"github.com/dustin/go-broadcast"
1717
"github.com/ghodss/yaml"
1818
"github.com/gin-gonic/gin"
19-
"github.com/iver-wharf/wharf-api/internal/coalesce"
20-
"github.com/iver-wharf/wharf-api/internal/wherefields"
21-
"github.com/iver-wharf/wharf-api/pkg/model/database"
22-
"github.com/iver-wharf/wharf-api/pkg/model/request"
23-
"github.com/iver-wharf/wharf-api/pkg/model/response"
24-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
25-
"github.com/iver-wharf/wharf-api/pkg/orderby"
19+
"github.com/iver-wharf/wharf-api/v5/internal/coalesce"
20+
"github.com/iver-wharf/wharf-api/v5/internal/wherefields"
21+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
22+
"github.com/iver-wharf/wharf-api/v5/pkg/model/request"
23+
"github.com/iver-wharf/wharf-api/v5/pkg/model/response"
24+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
25+
"github.com/iver-wharf/wharf-api/v5/pkg/orderby"
2626
"github.com/iver-wharf/wharf-core/pkg/ginutil"
2727
"github.com/iver-wharf/wharf-core/pkg/problem"
2828
"gopkg.in/guregu/null.v4"

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
1+
module github.com/iver-wharf/wharf-api/v5
22

33
go 1.16
44

internal/deprecated/artifact.go

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

77
"github.com/gin-gonic/gin"
8-
"github.com/iver-wharf/wharf-api/pkg/model/database"
9-
"github.com/iver-wharf/wharf-api/pkg/model/response"
10-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
8+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
9+
"github.com/iver-wharf/wharf-api/v5/pkg/model/response"
10+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
1111
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1212
"gorm.io/gorm"
1313
)

internal/deprecated/branch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http"
77

88
"github.com/gin-gonic/gin"
9-
"github.com/iver-wharf/wharf-api/pkg/model/database"
10-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
9+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
10+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
1111
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1212
"gorm.io/gorm"
1313
)

internal/deprecated/build.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"time"
88

99
"github.com/gin-gonic/gin"
10-
"github.com/iver-wharf/wharf-api/pkg/model/database"
11-
"github.com/iver-wharf/wharf-api/pkg/model/request"
12-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
10+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
11+
"github.com/iver-wharf/wharf-api/v5/pkg/model/request"
12+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
1313
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1414
"gorm.io/gorm"
1515
)

internal/deprecated/project.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"strings"
88

99
"github.com/gin-gonic/gin"
10-
"github.com/iver-wharf/wharf-api/internal/ptrconv"
11-
"github.com/iver-wharf/wharf-api/pkg/model/database"
12-
"github.com/iver-wharf/wharf-api/pkg/model/response"
13-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
14-
"github.com/iver-wharf/wharf-api/pkg/orderby"
10+
"github.com/iver-wharf/wharf-api/v5/internal/ptrconv"
11+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
12+
"github.com/iver-wharf/wharf-api/v5/pkg/model/response"
13+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
14+
"github.com/iver-wharf/wharf-api/v5/pkg/orderby"
1515
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1616
"gorm.io/gorm"
1717
)

internal/deprecated/provider.go

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

77
"github.com/gin-gonic/gin"
8-
"github.com/iver-wharf/wharf-api/pkg/model/database"
9-
"github.com/iver-wharf/wharf-api/pkg/model/request"
10-
"github.com/iver-wharf/wharf-api/pkg/modelconv"
8+
"github.com/iver-wharf/wharf-api/v5/pkg/model/database"
9+
"github.com/iver-wharf/wharf-api/v5/pkg/model/request"
10+
"github.com/iver-wharf/wharf-api/v5/pkg/modelconv"
1111
"github.com/iver-wharf/wharf-core/pkg/ginutil"
1212
"github.com/iver-wharf/wharf-core/pkg/problem"
1313
"gorm.io/gorm"

0 commit comments

Comments
 (0)