Add void stats adapter
This commit is contained in:
		
							parent
							
								
									1c1140f4f3
								
							
						
					
					
						commit
						6452635485
					
				
							
								
								
									
										11
									
								
								stats/void.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								stats/void.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
package stats
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"time"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Void struct{}
 | 
			
		||||
 | 
			
		||||
func (v *Void) Add(name string, dur time.Duration) {}
 | 
			
		||||
 | 
			
		||||
func (v *Void) Error(name string) {}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user