Merge pull request #27 from owncloud/bugfix/correct-imports

change import paths to ocis-pkg/v2
This commit is contained in:
Alex Unger
2020-02-05 15:59:00 +01:00
committed by GitHub
8 changed files with 11 additions and 7 deletions

View File

@@ -0,0 +1,4 @@
Bugfix: change import paths to ocis-pkg/v2
Changed the import paths to the current version

View File

@@ -5,7 +5,7 @@ import (
"time"
"github.com/go-chi/chi/middleware"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Logger is a middleware to log http requests.

View File

@@ -9,7 +9,7 @@ import (
"time"
oidc "github.com/coreos/go-oidc"
ocisoidc "github.com/owncloud/ocis-pkg/oidc"
ocisoidc "github.com/owncloud/ocis-pkg/v2/oidc"
"golang.org/x/oauth2"
)

View File

@@ -1,7 +1,7 @@
package oidc
import (
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Option defines a single option function.

View File

@@ -3,7 +3,7 @@ package debug
import (
"net/http"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Option defines a single option function.

View File

@@ -5,7 +5,7 @@ import (
"net/http/pprof"
"github.com/justinas/alice"
"github.com/owncloud/ocis-pkg/middleware"
"github.com/owncloud/ocis-pkg/v2/middleware"
"github.com/prometheus/client_golang/prometheus/promhttp"
"go.opencensus.io/zpages"
)

View File

@@ -4,7 +4,7 @@ import (
"context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Option defines a single option function.

View File

@@ -5,7 +5,7 @@ import (
"crypto/tls"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Option defines a single option function.