Scalingo / go-utils

Small libraries and helpers concerning errors, logging, nsq
6 stars 2 forks source link

[Gomock Generator] Make it possible to mock interface from the standard library #67

Open EtienneM opened 5 years ago

EtienneM commented 5 years ago

For instance, I wanted to have a mock of net.Conn but it didn't work as we only use the GOPATH env variable

EtienneM commented 5 years ago

Might be useful:

╰─$ echo $(go env GOROOT)
/usr/lib/go