Commit edd70c27 authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Refactor: move pkg auth in internal

parent b515b737
Pipeline #5190 passed with stages
in 3 minutes and 26 seconds
......@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
)
// HandleBankAccounts handle API call on BankAccounts
......
......@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
)
// HandleBankers handle API calls on Bankers
......
......@@ -7,7 +7,7 @@ import (
"strings"
"time"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
)
// UserClient has many BankAccounts and one UserBanker
......
......@@ -5,7 +5,7 @@ import (
"strings"
"time"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"github.com/jinzhu/gorm"
// Needed for sqlite
......
......@@ -7,7 +7,7 @@ import (
"strings"
"time"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
)
// HandleOperations handle API calls on Operations
......
......@@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"forge.grandlyon.com/apoyen/sdk-go/pkg/tester"
)
......
......@@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"forge.grandlyon.com/apoyen/sdk-go/pkg/tester"
)
......
......@@ -4,8 +4,8 @@ import (
"encoding/json"
"testing"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/models"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/pkg/tester"
)
......
......@@ -4,8 +4,8 @@ import (
"net/http"
"os"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/models"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/pkg/middlewares"
"forge.grandlyon.com/apoyen/sdk-go/pkg/common"
......
......@@ -11,7 +11,7 @@ import (
"regexp"
"testing"
"forge.grandlyon.com/apoyen/sdk-go/pkg/auth"
"forge.grandlyon.com/apoyen/sdk-go/internal/auth"
"forge.grandlyon.com/apoyen/sdk-go/pkg/tester"
"forge.grandlyon.com/apoyen/sdk-go/pkg/tokens"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment