Move internal packages
This commit is contained in:
parent
25b101afae
commit
43f32731f6
15 changed files with 9 additions and 9 deletions
|
@ -34,8 +34,8 @@ import (
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/ui"
|
"code.cacert.org/cacert/oidc-demo-app/ui"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/handlers"
|
"code.cacert.org/cacert/oidc-demo-app/internal/handlers"
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
|
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AfterLogoutHandler struct {
|
type AfterLogoutHandler struct {
|
|
@ -32,8 +32,8 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/models"
|
"code.cacert.org/cacert/oidc-demo-app/internal/models"
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
|
@ -27,7 +27,7 @@ import (
|
||||||
"github.com/nicksnyder/go-i18n/v2/i18n"
|
"github.com/nicksnyder/go-i18n/v2/i18n"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
type errorKey int
|
type errorKey int
|
|
@ -27,7 +27,7 @@ import (
|
||||||
"github.com/lestrrat-go/jwx/jwk"
|
"github.com/lestrrat-go/jwx/jwk"
|
||||||
"github.com/nicksnyder/go-i18n/v2/i18n"
|
"github.com/nicksnyder/go-i18n/v2/i18n"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
type IndexHandler struct {
|
type IndexHandler struct {
|
|
@ -26,7 +26,7 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/services"
|
"code.cacert.org/cacert/oidc-demo-app/internal/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
|
@ -30,7 +30,7 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
|
|
||||||
"code.cacert.org/cacert/oidc-demo-app/models"
|
"code.cacert.org/cacert/oidc-demo-app/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// OidcParams defines the parameters for DiscoverOIDC
|
// OidcParams defines the parameters for DiscoverOIDC
|
Loading…
Reference in a new issue