Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit ed9360b

Browse files
committed
feat: upgrade go module to v2
1 parent de89a2b commit ed9360b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $ ./monstercat catalog --search="mix contest"
5050
To use this project in your own work, follow these steps:
5151

5252
```bash
53-
go get -u github.com/menzerath/monstercat-api
53+
go get -u github.com/menzerath/monstercat-api/v2
5454
```
5555

5656
```go
@@ -60,7 +60,7 @@ import (
6060
"fmt"
6161
"os"
6262

63-
"github.com/menzerath/monstercat-api/monstercat"
63+
"github.com/menzerath/monstercat-api/v2/monstercat"
6464
)
6565

6666
func main() {

cmd/catalog.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/menzerath/monstercat-api/monstercat"
7+
"github.com/menzerath/monstercat-api/v2/monstercat"
88
"github.com/olekukonko/tablewriter"
99
"github.com/spf13/cobra"
1010
)

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/menzerath/monstercat-api
1+
module github.com/menzerath/monstercat-api/v2
22

33
go 1.17
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "github.com/menzerath/monstercat-api/cmd"
3+
import "github.com/menzerath/monstercat-api/v2/cmd"
44

55
func main() {
66
cmd.Execute()

0 commit comments

Comments
 (0)