mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 22:54:36 -04: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
|
@ -14,7 +14,6 @@ import (
|
|||
// Ensure the struct implements the interface.
|
||||
var (
|
||||
_ Method = &Session{}
|
||||
_ Named = &Session{}
|
||||
)
|
||||
|
||||
// Session checks if there is a user uid stored in the session and returns the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue