github.com/apernet/quic-go@v0.43.1-0.20240515053213-5e9e635fd9f0/internal/ackhandler/mockgen.go (about)

     1  //go:build gomock || generate
     2  
     3  package ackhandler
     4  
     5  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\"  -package ackhandler -destination mock_sent_packet_tracker_test.go github.com/apernet/quic-go/internal/ackhandler SentPacketTracker"
     6  type SentPacketTracker = sentPacketTracker
     7  
     8  //go:generate sh -c "go run go.uber.org/mock/mockgen -build_flags=\"-tags=gomock\"  -package ackhandler -destination mock_ecn_handler_test.go github.com/apernet/quic-go/internal/ackhandler ECNHandler"
     9  type ECNHandler = ecnHandler