github.com/yandex/pandora@v0.5.32/core/mocks/extras.go (about)

     1  package coremock
     2  
     3  import (
     4  	"fmt"
     5  	"unsafe"
     6  )
     7  
     8  // Implement Stringer, so when Aggregator is passed as arg to another mock call,
     9  // it not read and data races not created.
    10  func (_m *Aggregator) String() string {
    11  	return fmt.Sprintf("coremock.Aggregator{%v}", unsafe.Pointer(_m))
    12  }