forked from quic-go/quic-go
generate the streamI mock in the quic package
By doing so, we can mock private methods of the stream, so they cannot be type-asserted by users of quic-go.
This commit is contained in:
3
mockgen.go
Normal file
3
mockgen.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package quic
|
||||
|
||||
//go:generate sh -c "./mockgen_private.sh quic mock_stream_internal_test.go github.com/lucas-clemente/quic-go streamI StreamI"
|
||||
Reference in New Issue
Block a user