@@ -268,36 +268,36 @@ func (i *IntervalClock) Since(ts time.Time) time.Duration {
268268
269269// After is unimplemented, will panic.
270270// TODO: make interval clock use FakeClock so this can be implemented.
271- func (* IntervalClock ) After (d time.Duration ) <- chan time.Time {
271+ func (* IntervalClock ) After (_ time.Duration ) <- chan time.Time {
272272 panic ("IntervalClock doesn't implement After" )
273273}
274274
275275// NewTimer is unimplemented, will panic.
276276// TODO: make interval clock use FakeClock so this can be implemented.
277- func (* IntervalClock ) NewTimer (d time.Duration ) clock.Timer {
277+ func (* IntervalClock ) NewTimer (_ time.Duration ) clock.Timer {
278278 panic ("IntervalClock doesn't implement NewTimer" )
279279}
280280
281281// AfterFunc is unimplemented, will panic.
282282// TODO: make interval clock use FakeClock so this can be implemented.
283- func (* IntervalClock ) AfterFunc (d time.Duration , f func ()) clock.Timer {
283+ func (* IntervalClock ) AfterFunc (_ time.Duration , _ func ()) clock.Timer {
284284 panic ("IntervalClock doesn't implement AfterFunc" )
285285}
286286
287287// Tick is unimplemented, will panic.
288288// TODO: make interval clock use FakeClock so this can be implemented.
289- func (* IntervalClock ) Tick (d time.Duration ) <- chan time.Time {
289+ func (* IntervalClock ) Tick (_ time.Duration ) <- chan time.Time {
290290 panic ("IntervalClock doesn't implement Tick" )
291291}
292292
293293// NewTicker has no implementation yet and is omitted.
294294// TODO: make interval clock use FakeClock so this can be implemented.
295- func (* IntervalClock ) NewTicker (d time.Duration ) clock.Ticker {
295+ func (* IntervalClock ) NewTicker (_ time.Duration ) clock.Ticker {
296296 panic ("IntervalClock doesn't implement NewTicker" )
297297}
298298
299299// Sleep is unimplemented, will panic.
300- func (* IntervalClock ) Sleep (d time.Duration ) {
300+ func (* IntervalClock ) Sleep (_ time.Duration ) {
301301 panic ("IntervalClock doesn't implement Sleep" )
302302}
303303
0 commit comments