diff options
Diffstat (limited to 'user/anime')
-rw-r--r-- | user/anime/README.md | 4 | ||||
-rw-r--r-- | user/anime/animelist.go | 6 | ||||
-rw-r--r-- | user/anime/animelist.structs.go | 2 | ||||
-rw-r--r-- | user/anime/client.go | 2 | ||||
-rw-r--r-- | user/anime/request_handler.go | 2 | ||||
-rw-r--r-- | user/anime/update_animelist.go | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/user/anime/README.md b/user/anime/README.md index 80ce4e6..4b8bfe8 100644 --- a/user/anime/README.md +++ b/user/anime/README.md @@ -8,14 +8,14 @@ To *get* anime data, refer to the [`anime`](../../anime) package. ## Installation In a terminal, run ``` fish -go get "github.com/MikunoNaka/MAL2Go/user/anime" +go get "github.com/MikunoNaka/MAL2Go/v2/user/anime" ``` ## Usage Firstly, import this package and instanciate the client. ``` go import ( - "github.com/MikunoNaka/MAL2Go/user/anime" + "github.com/MikunoNaka/MAL2Go/v2/user/anime" ) ``` diff --git a/user/anime/animelist.go b/user/anime/animelist.go index 321e6d0..d7a5b41 100644 --- a/user/anime/animelist.go +++ b/user/anime/animelist.go @@ -20,9 +20,9 @@ import ( "encoding/json" "strconv" "fmt" - a "github.com/MikunoNaka/MAL2Go/anime" - e "github.com/MikunoNaka/MAL2Go/errhandlers" - u "github.com/MikunoNaka/MAL2Go/util" + a "github.com/MikunoNaka/MAL2Go/v2/anime" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v2/util" ) const BASE_URL string = "https://api.myanimelist.net/v2" diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go index c727d97..9f83f82 100644 --- a/user/anime/animelist.structs.go +++ b/user/anime/animelist.structs.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/anime" + "github.com/MikunoNaka/MAL2Go/v2/anime" ) type animeListRaw struct { diff --git a/user/anime/client.go b/user/anime/client.go index e857df2..090571b 100644 --- a/user/anime/client.go +++ b/user/anime/client.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/user/anime/request_handler.go b/user/anime/request_handler.go index 45bfe83..f2f6707 100644 --- a/user/anime/request_handler.go +++ b/user/anime/request_handler.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" "errors" - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type UpdateResponse struct { diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go index ec0d60d..d8c936a 100644 --- a/user/anime/update_animelist.go +++ b/user/anime/update_animelist.go @@ -16,7 +16,7 @@ package anime import ( - e "github.com/MikunoNaka/MAL2Go/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" "fmt" "net/url" "strconv" |