Skip to content

Commit

Permalink
Changed repository name to the original
Browse files Browse the repository at this point in the history
  • Loading branch information
yigithanbalci committed Jul 7, 2023
1 parent b722dce commit 69197ed
Show file tree
Hide file tree
Showing 38 changed files with 86 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/yigithanbalci/golio
local-prefixes: github.com/KnutZuidema/golio
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 10
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Documentation](https://godoc.org/github.com/yigithanbalci/golio?status.svg)](https://godoc.org/github.com/yigithanbalci/golio)
![CI](https://github.com/yigithanbalci/golio/workflows/CI/badge.svg?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/yigithanbalci/golio)](https://goreportcard.com/report/github.com/yigithanbalci/golio)
[![codecov](https://codecov.io/gh/yigithanbalci/golio/branch/master/graph/badge.svg)](https://codecov.io/gh/yigithanbalci/golio)
[![Documentation](https://godoc.org/github.com/KnutZuidema/golio?status.svg)](https://godoc.org/github.com/KnutZuidema/golio)
![CI](https://github.com/KnutZuidema/golio/workflows/CI/badge.svg?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/KnutZuidema/golio)](https://goreportcard.com/report/github.com/KnutZuidema/golio)
[![codecov](https://codecov.io/gh/KnutZuidema/golio/branch/master/graph/badge.svg)](https://codecov.io/gh/KnutZuidema/golio)

# Golio

Expand All @@ -18,8 +18,8 @@ import (
"fmt"
"net/http"

"github.com/yigithanbalci/golio"
"github.com/yigithanbalci/golio/api"
"github.com/KnutZuidema/golio"
"github.com/KnutZuidema/golio/api"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions datadragon/data_dragon.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions datadragon/data_dragon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestNewClient(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions datadragon/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
)

func TestChampionData_GetExtended(t *testing.T) {
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/yigithanbalci/golio
module github.com/KnutZuidema/golio

go 1.19

Expand Down
10 changes: 5 additions & 5 deletions golio.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/datadragon"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/riot"
"github.com/yigithanbalci/golio/static"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/datadragon"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/riot"
"github.com/KnutZuidema/golio/static"
)

// Client is a client for both the Riot API and the Data Dragon service
Expand Down
2 changes: 1 addition & 1 deletion golio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/KnutZuidema/golio/api"
)

func TestNewClient(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/KnutZuidema/golio/api"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions internal/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestClient_DoRequest(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions riot/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package riot
import (
log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/riot/lol"
"github.com/yigithanbalci/golio/riot/lor"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/riot/lol"
"github.com/KnutZuidema/golio/riot/lor"
)

// Client provides access to all Riot API endpoints
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/champion.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lol
import (
log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// ChampionClient provides methods for the champions endpoints of the League of Legends API.
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/champion_mastery.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// ChampionMasteryClient provides methods for the champion mastery endpoints of the
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/champion_mastery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestChampionMasteryClient_List(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/champion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestChampionClient_GetFreeRotation(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package lol

import "github.com/yigithanbalci/golio/internal"
import "github.com/KnutZuidema/golio/internal"

// Client pools all methods for endpoints of the League of Legends API.
type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/league.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// LeagueClient provides methods for league endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/league_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestLeagueClient_GetChallenger(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions riot/lol/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
)

// MatchClient provides methods for the match endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/match_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestMatchClient_List(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions riot/lol/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strconv"
"strings"

"github.com/yigithanbalci/golio/datadragon"
"github.com/yigithanbalci/golio/static"
"github.com/KnutZuidema/golio/datadragon"
"github.com/KnutZuidema/golio/static"
)

// ChampionInfo contains information about the free champion rotation
Expand Down
10 changes: 5 additions & 5 deletions riot/lol/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/datadragon"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/yigithanbalci/golio/static"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/datadragon"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
"github.com/KnutZuidema/golio/static"
)

func TestLeagueList_GetRank(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/spectator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// SpectatorClient provides methods for the spectator endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/spectator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestSpectatorClient_ListFeatured(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lol
import (
log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// StatusClient provides methods for the status endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestStatusClient_Get(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/summoner.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// SummonerClient provides methods for the summoner endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/summoner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestSummonerClient_GetByName(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/third_party_code.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// ThirdPartyCodeClient provides methods for the third party code endpoints of the
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/third_party_code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestThirdPartyCodeClient_Get(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lol/tournament.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/internal"
"github.com/KnutZuidema/golio/internal"
)

// TournamentClient provides methods for the tournament endpoints of the League of Legends API.
Expand Down
6 changes: 3 additions & 3 deletions riot/lol/tournament_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestTournamentClient_CreateCodes(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lor/client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package lor

import "github.com/yigithanbalci/golio/internal"
import "github.com/KnutZuidema/golio/internal"

// Client pools methods for the Legends of Runeterra API.
type Client struct {
Expand Down
6 changes: 3 additions & 3 deletions riot/lor/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/sirupsen/logrus"

"github.com/yigithanbalci/golio/api"
"github.com/yigithanbalci/golio/internal"
"github.com/yigithanbalci/golio/internal/mock"
"github.com/KnutZuidema/golio/api"
"github.com/KnutZuidema/golio/internal"
"github.com/KnutZuidema/golio/internal/mock"
)

func TestNewClient(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion riot/lor/ranked.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package lor

import "github.com/yigithanbalci/golio/internal"
import "github.com/KnutZuidema/golio/internal"

// RankedClient provides methods for the ranked endpoints of the Legends of Runeterra API.
type RankedClient struct {
Expand Down
Loading

0 comments on commit 69197ed

Please sign in to comment.