projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
testdata
/
B1.golden
1
// +build ignore
2
3
package B1
4
5
import "time"
6
7
var startup = time.Now()
8
9
func example() time.Duration {
10
before := time.Now()
11
time.Sleep(1)
12
return time.Since(before)
13
}
14
15
func msSinceStartup() int64 {
16
return int64(time.Since(startup) / time.Millisecond)
17
}