kopia lustrzana https://github.com/reiver/greatape
6 wiersze
105 B
Go
6 wiersze
105 B
Go
|
package validators
|
||
|
|
||
|
func PercentIsValid(percent float64) bool {
|
||
|
return percent >= 0 && percent <= 100
|
||
|
}
|