Skip to content

Commit

Permalink
docs: correct floag64 tofloat64
Browse files Browse the repository at this point in the history
  • Loading branch information
dairongpeng authored Jan 4, 2022
1 parent efcfc5c commit 00a310c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/authzserver/analytics/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (r *Analytics) recordWorker() {
}
}

// DurationToMillisecond convert time duration type to floag64.
// DurationToMillisecond convert time duration type to float64.
func DurationToMillisecond(d time.Duration) float64 {
return float64(d) / 1e6
}

0 comments on commit 00a310c

Please sign in to comment.