mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +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:
		@@ -21,7 +21,6 @@ import (
 | 
			
		||||
// Ensure the struct implements the interface.
 | 
			
		||||
var (
 | 
			
		||||
	_ Method = &Basic{}
 | 
			
		||||
	_ Named  = &Basic{}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// BasicMethodName is the constant name of the basic authentication method
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user