소스 검색

Remove forgotten struct

DarthSim 7 년 전
부모
커밋
94baf32120
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      timer.go

+ 0 - 5
timer.go

@@ -8,11 +8,6 @@ import (
 
 var timerSinceCtxKey = ctxKey("timerSince")
 
-type timer struct {
-	StartTime time.Time
-	Timer     <-chan time.Time
-}
-
 func startTimer(d time.Duration) (context.Context, context.CancelFunc) {
 	return context.WithTimeout(
 		context.WithValue(context.Background(), timerSinceCtxKey, time.Now()),