Remove Named interface (#26913)

`Named` is implemented by every `Method` and future implementations
should implement the method too.
This commit is contained in:
KN4CK3R authored and GitHub committed 2023-09-05 15:58:30 +00:00
1 parent a99b96cbcd
commit 0eebeeec90
12 files changed
+12 -21

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ import (
"code.gitea.io/gitea/services/auth"
)
var _ auth.Method = &Auth{}
type Auth struct{}
func (a *Auth) Name() string {