github.com/sagernet/quic-go@v0.43.1-beta.1/http3_ech/mockgen.go (about) 1 //go:build gomock || generate 2 3 package http3 4 5 //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package http3 -destination mock_singleroundtripper_test.go github.com/sagernet/quic-go/http3 SingleRoundTripper" 6 type SingleRoundTripper = singleRoundTripper 7 8 //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -package http3 -destination mock_quic_early_listener_test.go github.com/sagernet/quic-go/http3 QUICEarlyListener"