Move internal packages

This commit is contained in:
Jan Dittberner 2023-07-29 17:53:26 +02:00
parent 25b101afae
commit 43f32731f6
15 changed files with 9 additions and 9 deletions

View file

@ -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 (

View file

@ -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 {

View file

@ -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 (

View file

@ -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

View file

@ -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 {

View file

@ -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 (

View file

@ -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