b7daa2f3a4
Update traefik dependencies (docker/docker and related) - Update dependencies - Fix compilation problems - Remove vdemeester/docker-events (in docker api now) - Remove `integration/vendor` - Use `testImport` - update some deps. - regenerate the lock from scratch (after a `glide cc`)
9 lines
291 B
Go
9 lines
291 B
Go
// +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)
|
|
}
|