mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Remove Named interface (#26913)
				
					
				
			`Named` is implemented by every `Method` and future implementations should implement the method too.
This commit is contained in:
		@@ -13,6 +13,8 @@ import (
 | 
			
		||||
	"code.gitea.io/gitea/services/auth"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var _ auth.Method = &Auth{}
 | 
			
		||||
 | 
			
		||||
type Auth struct{}
 | 
			
		||||
 | 
			
		||||
func (a *Auth) Name() string {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user