Skip to content

Commit

Permalink
chore(memlimit): Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
KimMachineGun committed Mar 7, 2023
1 parent 0dcc343 commit 953f333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memlimit/memlimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func cappedFloat2Int(f float64) int64 {
}
return int64(f)
}

// Limit is a helper Provider function that returns the given limit.
func Limit(limit uint64) func() (uint64, error) {
return func() (uint64, error) {
Expand Down

0 comments on commit 953f333

Please sign in to comment.