Move internal packages

main
Jan Dittberner 7 months ago
parent 25b101afae
commit 43f32731f6

@ -34,8 +34,8 @@ import (
"code.cacert.org/cacert/oidc-demo-app/ui"
"code.cacert.org/cacert/oidc-demo-app/handlers"
"code.cacert.org/cacert/oidc-demo-app/services"
"code.cacert.org/cacert/oidc-demo-app/internal/handlers"
"code.cacert.org/cacert/oidc-demo-app/internal/services"
)
const (

@ -22,7 +22,7 @@ import (
"github.com/sirupsen/logrus"
"code.cacert.org/cacert/oidc-demo-app/services"
"code.cacert.org/cacert/oidc-demo-app/internal/services"
)
type AfterLogoutHandler struct {

@ -32,8 +32,8 @@ import (
log "github.com/sirupsen/logrus"
"golang.org/x/oauth2"
"code.cacert.org/cacert/oidc-demo-app/models"
"code.cacert.org/cacert/oidc-demo-app/services"
"code.cacert.org/cacert/oidc-demo-app/internal/models"
"code.cacert.org/cacert/oidc-demo-app/internal/services"
)
const (

@ -27,7 +27,7 @@ import (
"github.com/nicksnyder/go-i18n/v2/i18n"
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

@ -27,7 +27,7 @@ import (
"github.com/lestrrat-go/jwx/jwk"
"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 {

@ -26,7 +26,7 @@ import (
log "github.com/sirupsen/logrus"
"golang.org/x/oauth2"
"code.cacert.org/cacert/oidc-demo-app/services"
"code.cacert.org/cacert/oidc-demo-app/internal/services"
)
const (

@ -30,7 +30,7 @@ import (
log "github.com/sirupsen/logrus"
"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
Loading…
Cancel
Save