☰
Debian Codegraph
@
1.5.1-2
/
/
export_test.go
☽
☼
export_test.go
code
plain
raw
symbols
SCIP
Expat
2021 codehex
debian/copyright
1
package
cache
2
3
import
"time"
4
5
func
SetNowFunc(tm time.
Time
) (reset
func
()) {
6
backup := nowFunc
7
nowFunc =
func
() time.
Time
{
return
tm }
8
return
func
() {
9
nowFunc = backup
10
}
11
}