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