Skip to content

πŸ”– Number ​

go
import (
	"github.com/thuongtruong109/gouse"
)

1. Clamp ​

go
func Clamp() {
	println("Clamp number: ", gouse.Clamp(5, 1, 10))
}

2. Check in range ​

go
func CheckInRange() {
	println("Check number is in range: ", gouse.InRange(5, 1, 10))
}

Released under the MIT License.