mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-04 12:05:05 +01:00
Revert "fix: bump import to v2"
This reverts commit 9cb9b2aa7a57047a7e61b2c54732b3e25300bf20.
This commit is contained in:
@@ -7,11 +7,11 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/app/middleware"
|
||||
"github.com/acouvreur/sablier/v2/config"
|
||||
"github.com/acouvreur/sablier/v2/pkg/scaler"
|
||||
"github.com/acouvreur/sablier/v2/pkg/storage"
|
||||
"github.com/acouvreur/sablier/v2/pkg/tinykv"
|
||||
"github.com/acouvreur/sablier/app/middleware"
|
||||
"github.com/acouvreur/sablier/config"
|
||||
"github.com/acouvreur/sablier/pkg/scaler"
|
||||
"github.com/acouvreur/sablier/pkg/storage"
|
||||
"github.com/acouvreur/sablier/pkg/tinykv"
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/gin-gonic/gin"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/config"
|
||||
"github.com/acouvreur/sablier/config"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/acouvreur/sablier/v2/app"
|
||||
"github.com/acouvreur/sablier/v2/config"
|
||||
"github.com/acouvreur/sablier/app"
|
||||
"github.com/acouvreur/sablier/config"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/version"
|
||||
"github.com/acouvreur/sablier/version"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/acouvreur/sablier/v2
|
||||
module github.com/acouvreur/sablier
|
||||
|
||||
go 1.18
|
||||
|
||||
|
||||
2
main.go
2
main.go
@@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/acouvreur/sablier/v2/cmd"
|
||||
"github.com/acouvreur/sablier/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/pkg/scaler/mocks"
|
||||
"github.com/acouvreur/sablier/pkg/scaler/mocks"
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/mock"
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/pkg/scaler/mocks"
|
||||
"github.com/acouvreur/sablier/pkg/scaler/mocks"
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/api/types/swarm"
|
||||
"github.com/docker/docker/client"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module github.com/acouvreur/sablier/v2/plugins/traefik
|
||||
module github.com/acouvreur/sablier/plugins/traefik
|
||||
|
||||
go 1.18
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/plugins/traefik/pkg/strategy"
|
||||
"github.com/acouvreur/sablier/plugins/traefik/pkg/strategy"
|
||||
)
|
||||
|
||||
// Config the plugin configuration
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/acouvreur/sablier/v2/plugins/traefik/pkg/pages"
|
||||
"github.com/acouvreur/sablier/plugins/traefik/pkg/pages"
|
||||
)
|
||||
|
||||
type DynamicStrategy struct {
|
||||
|
||||
Reference in New Issue
Block a user