1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-03-22 20:21:28 +02:00

Remove forgotten struct

This commit is contained in:
DarthSim 2018-10-09 19:55:19 +06:00
parent 47012473bb
commit 94baf32120

View File

@ -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()),