mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
8 lines
478 B
Go
8 lines
478 B
Go
package mocks
|
|
|
|
// mockgen source mode doesn't properly recognize structs defined in the same package
|
|
// so we have to use sed to correct for that
|
|
|
|
//go:generate sh -c "mockgen -package mocks_fc -source ../flowcontrol/interface.go | sed \"s/\\[\\]WindowUpdate/[]flowcontrol.WindowUpdate/g\" > mocks_fc/flow_control_manager.go"
|
|
//go:generate sh -c "mockgen -package mocks -source ../handshake/params_negotiator_base.go > params_negotiator.go"
|
|
//go:generate sh -c "goimports -w ."
|