mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 06:43:23 +00:00
Update vendoring via vndr
This commit is contained in:
9
gateway/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go
generated
vendored
Normal file
9
gateway/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
// +build windows
|
||||
|
||||
package winterm
|
||||
|
||||
// AddInRange increments a value by the passed quantity while ensuring the values
|
||||
// always remain within the supplied min / max range.
|
||||
func addInRange(n int16, increment int16, min int16, max int16) int16 {
|
||||
return ensureInRange(n+increment, min, max)
|
||||
}
|
Reference in New Issue
Block a user