datadog-go icon indicating copy to clipboard operation
datadog-go copied to clipboard

mock folder isn't exported

Open Caroline-theotter opened this issue 3 years ago • 2 comments

I get the last version of the datadog-go package but the mock folder isn't exported Screenshot 2022-05-23 at 11 16 42

Caroline-theotter avatar May 23 '22 13:05 Caroline-theotter

Same, this is not good for testing. go get github.com/DataDog/datadog-go/v5/statsd/mocks does nothing. What is a correct way to use the generated mocks?

ercalote avatar Aug 18 '23 13:08 ercalote

@ercalote I assume this is ok because it is always better to create mocks where they need to be used.

obalunenko avatar Mar 13 '24 09:03 obalunenko