Skip to content

Commit f4616c6

Browse files
committed
Fixed build error for gocli with version
1 parent 223195c commit f4616c6

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

app/app.go

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

88
"github.com/brianvoe/gofakeit/v7"
9-
"github.com/paqstd-team/fake-cli/config"
10-
"github.com/paqstd-team/fake-cli/handler"
9+
"github.com/paqstd-team/fake-cli/v2/config"
10+
"github.com/paqstd-team/fake-cli/v2/handler"
1111
)
1212

1313
// Run constructs the HTTP server using the provided config path and port.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/paqstd-team/fake-cli
1+
module github.com/paqstd-team/fake-cli/v2
22

33
go 1.25
44

handler/data_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http/httptest"
77
"testing"
88

9-
"github.com/paqstd-team/fake-cli/config"
9+
"github.com/paqstd-team/fake-cli/v2/config"
1010
)
1111

1212
func TestData_GenerateFields(t *testing.T) {

handler/handler.go

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

99
"github.com/gorilla/mux"
10-
"github.com/paqstd-team/fake-cli/cache"
11-
"github.com/paqstd-team/fake-cli/config"
10+
"github.com/paqstd-team/fake-cli/v2/cache"
11+
"github.com/paqstd-team/fake-cli/v2/config"
1212
)
1313

1414
// JSONMarshal is used to marshal response data. It is a variable to allow tests

handler/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/paqstd-team/fake-cli/config"
12+
"github.com/paqstd-team/fake-cli/v2/config"
1313
)
1414

1515
func TestHandler_HTTPMethods(t *testing.T) {

handler/pagination_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/url"
88
"testing"
99

10-
"github.com/paqstd-team/fake-cli/config"
10+
"github.com/paqstd-team/fake-cli/v2/config"
1111
)
1212

1313
func TestPagination_Parameters(t *testing.T) {

main.go

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

9-
"github.com/paqstd-team/fake-cli/app"
9+
"github.com/paqstd-team/fake-cli/v2/app"
1010
)
1111

1212
func main() {

0 commit comments

Comments
 (0)