Add void stats adapter
This commit is contained in:
parent
1c1140f4f3
commit
6452635485
|
@ -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…
Reference in New Issue