Skip to content

Commit

Permalink
Remove LapAs and StopAs from README
Browse files Browse the repository at this point in the history
  • Loading branch information
doozr committed Jun 21, 2022
1 parent a4d299c commit 114185a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ lap1 := timer.Lap() # Time elapsed since start

lap2 := timer.Lap() # Time elapsed since lap1

lap3 := timer.LapAs(time.Millisecond) # Time elapsed since lap2 in ms as an int64
lap3 := timer.Lap().Milliseconds() # Time elapsed since lap2 in ms as an int64

elapsed := time.Stop() # Total time elapsed since start

elapsed2 := time.StopAs(time.Millisecond) # Total time elapsed since start in ms as an int64
elapsed2 := time.Stop().Milliseconds() # Total time elapsed since start in ms as an int64

```

0 comments on commit 114185a

Please sign in to comment.