Skip to content

Commit

Permalink
change(handler): update license to 2023 and fix mockgen
Browse files Browse the repository at this point in the history
  • Loading branch information
saxenautkarsh committed Apr 22, 2023
1 parent e0bd8f6 commit 7fc351a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
1 change: 1 addition & 0 deletions generate-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ mockgen -package internal -destination internal/access_request.go github.com/ory
mockgen -package internal -destination internal/access_response.go github.com/ory/fosite AccessResponder
mockgen -package internal -destination internal/authorize_request.go github.com/ory/fosite AuthorizeRequester
mockgen -package internal -destination internal/authorize_response.go github.com/ory/fosite AuthorizeResponder
mockgen -package internal -destination internal/oauth2_token_exchange_storage.go github.com/ory/fosite/handler/rfc8693 RFC8693Storage

goimports -w internal/
2 changes: 1 addition & 1 deletion handler/rfc8693/handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2022 Ory Corp
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package rfc8693
Expand Down
2 changes: 1 addition & 1 deletion handler/rfc8693/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2022 Ory Corp
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package rfc8693
Expand Down
4 changes: 1 addition & 3 deletions handler/rfc8693/storage.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Copyright © 2022 Ory Corp
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package rfc8693

//go:generate mockgen -source=storage.go -destination=../../internal/oauth2_token_exchange_storage.go -package=internal

import (
"context"

Expand Down
28 changes: 14 additions & 14 deletions internal/oauth2_token_exchange_storage.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7fc351a

Please sign in to comment.