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

Commit

Permalink
feat: upgrade go module to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
menzerath committed Sep 28, 2021
1 parent de89a2b commit ed9360b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $ ./monstercat catalog --search="mix contest"
To use this project in your own work, follow these steps:

```bash
go get -u github.com/menzerath/monstercat-api
go get -u github.com/menzerath/monstercat-api/v2
```

```go
Expand All @@ -60,7 +60,7 @@ import (
"fmt"
"os"

"github.com/menzerath/monstercat-api/monstercat"
"github.com/menzerath/monstercat-api/v2/monstercat"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/menzerath/monstercat-api/monstercat"
"github.com/menzerath/monstercat-api/v2/monstercat"
"github.com/olekukonko/tablewriter"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/menzerath/monstercat-api
module github.com/menzerath/monstercat-api/v2

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

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

func main() {
cmd.Execute()
Expand Down

0 comments on commit ed9360b

Please sign in to comment.