Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
remove /pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag committed Jul 14, 2021
1 parent e9a5e01 commit 0f41c48
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion pkg/as/as.go → as/as.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
asmodels "github.com/go-oauth2/oauth2/v4/models"
asserver "github.com/go-oauth2/oauth2/v4/server"
asstore "github.com/go-oauth2/oauth2/v4/store"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/models"
)

type Options struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/key/key.go → key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/lestrrat-go/jwx/jwa"
"github.com/lestrrat-go/jwx/jwk"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/models"
)

type handler struct {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/signal"

"github.com/cristalhq/aconfig"
"github.com/xenitab/dispans/pkg/server"
"github.com/xenitab/dispans/server"
"github.com/xenitab/pkg/service"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/route/route.go → route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

asserver "github.com/go-oauth2/oauth2/v4/server"
"github.com/go-session/session"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/models"
)

type Options struct {
Expand Down
14 changes: 7 additions & 7 deletions pkg/route/route_test.go → route/route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import (
"github.com/lestrrat-go/jwx/jwk"
"github.com/lestrrat-go/jwx/jwt"
"github.com/stretchr/testify/require"
"github.com/xenitab/dispans/pkg/as"
"github.com/xenitab/dispans/pkg/authority"
"github.com/xenitab/dispans/pkg/helper"
"github.com/xenitab/dispans/pkg/key"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/pkg/token"
"github.com/xenitab/dispans/pkg/user"
"github.com/xenitab/dispans/as"
"github.com/xenitab/dispans/authority"
"github.com/xenitab/dispans/helper"
"github.com/xenitab/dispans/key"
"github.com/xenitab/dispans/models"
"github.com/xenitab/dispans/token"
"github.com/xenitab/dispans/user"
)

const (
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions pkg/server/server.go → server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

"github.com/gorilla/mux"
"github.com/lestrrat-go/jwx/jwa"
"github.com/xenitab/dispans/pkg/as"
"github.com/xenitab/dispans/pkg/authority"
"github.com/xenitab/dispans/pkg/key"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/pkg/route"
"github.com/xenitab/dispans/pkg/token"
"github.com/xenitab/dispans/pkg/user"
"github.com/xenitab/dispans/as"
"github.com/xenitab/dispans/authority"
"github.com/xenitab/dispans/key"
"github.com/xenitab/dispans/models"
"github.com/xenitab/dispans/route"
"github.com/xenitab/dispans/token"
"github.com/xenitab/dispans/user"
)

type Options struct {
Expand Down
12 changes: 6 additions & 6 deletions pkg/server/server_test.go → server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import (
"github.com/lestrrat-go/jwx/jwk"
"github.com/lestrrat-go/jwx/jwt"
"github.com/stretchr/testify/require"
"github.com/xenitab/dispans/pkg/as"
"github.com/xenitab/dispans/pkg/authority"
"github.com/xenitab/dispans/pkg/helper"
"github.com/xenitab/dispans/pkg/key"
"github.com/xenitab/dispans/pkg/token"
"github.com/xenitab/dispans/pkg/user"
"github.com/xenitab/dispans/as"
"github.com/xenitab/dispans/authority"
"github.com/xenitab/dispans/helper"
"github.com/xenitab/dispans/key"
"github.com/xenitab/dispans/token"
"github.com/xenitab/dispans/user"
"github.com/xenitab/pkg/service"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/token/token.go → token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/lestrrat-go/jwx/jwa"
"github.com/lestrrat-go/jwx/jws"
"github.com/lestrrat-go/jwx/jwt"
"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/models"
)

type Options struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/user/user.go → user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package user
import (
"fmt"

"github.com/xenitab/dispans/pkg/models"
"github.com/xenitab/dispans/models"
)

type Handler struct {
Expand Down

0 comments on commit 0f41c48

Please sign in to comment.