pion / .goassets

Asset files automatically deployed to Go package repositories
https://pion.ly/
MIT License
9 stars 10 forks source link

Use test.TimeOut and test.CheckRoutines as one liner #207

Open Sean-Der opened 6 months ago

Sean-Der commented 6 months ago

I used these to replace quickly

gsed -i 's/lim := /defer /g' *.go
gsed -i '/defer lim.Stop()/d' *.go
gsed -i '/test.TimeOut/s/$/.Stop()/' *.go

What do you think @stv0g ?