Move config to internal

This commit is contained in:
9seconds
2021-04-02 21:41:02 +03:00
parent ea7033d569
commit 7bffdcdf4a
31 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/9seconds/mtg/v2/internal/testlib" "github.com/9seconds/mtg/v2/internal/testlib"
"github.com/9seconds/mtg/v2/mtglib" "github.com/9seconds/mtg/v2/mtglib"
"github.com/jarcoal/httpmock" "github.com/jarcoal/httpmock"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/9seconds/mtg/v2/mtglib" "github.com/9seconds/mtg/v2/mtglib"
"github.com/9seconds/mtg/v2/network" "github.com/9seconds/mtg/v2/network"
) )
@@ -5,7 +5,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"net" "net"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"net" "net"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"strconv" "strconv"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )
@@ -5,7 +5,7 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/9seconds/mtg/v2/config" "github.com/9seconds/mtg/v2/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
) )