Sign in
go
/
tools
/
2a3bccfb1bf676aea1cfefb8eae1c7f4c566d22d
/
.
/
refactor
/
eg
/
testdata
/
B1.golden
blob: 4d4da2185dbc45ab251bfde56c5050f4c1c958da [
file
] [
log
] [
blame
]
// +build ignore
package
B1
import
"time"
var
startup
=
time
.
Now
()
func example
()
time
.
Duration
{
before
:=
time
.
Now
()
time
.
Sleep
(
1
)
return
time
.
Since
(
before
)
}
func msSinceStartup
()
int64
{
return
int64
(
time
.
Since
(
startup
)
/
time
.
Millisecond
)
}