You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: compatibility_1_0.go
    path of file: ./repos/goldfish/vendor/github.com/ncw/swift
    
    the code of the file until where you have to start completion: // Go 1.0 compatibility functions

// +build !go1.1

package swift

import (
	"log"
	"net/http"
	"time"
)

// Cancel the 
    
func resetTimer(t *time.Timer, d time.Duration) {
	t.Stop()
	// Very likely this doesn't actually work if we are already
	// selecting on t.C.  However we've stopped the original timer
	// so won't break transfers but may not time them out :-(
	*t = *time.NewTimer(d)
}