mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-19 05:00:02 +02:00
Remove Named
interface (#26913)
`Named` is implemented by every `Method` and future implementations should implement the method too.
This commit is contained in:
parent
a99b96cbcd
commit
0eebeeec90
12 changed files with 12 additions and 21 deletions
|
@ -22,7 +22,6 @@ import (
|
|||
// Ensure the struct implements the interface.
|
||||
var (
|
||||
_ Method = &OAuth2{}
|
||||
_ Named = &OAuth2{}
|
||||
)
|
||||
|
||||
// CheckOAuthAccessToken returns uid of user from oauth token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue