mirror of
https://github.com/rwinkhart/go-boilerplate.git
synced 2026-08-28 04:46:41 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ee213eeb4 |
@@ -46,6 +46,7 @@ func InputInt(prompt string, min, max int) int {
|
||||
if err == nil && (userInput >= min || min < 0) && (userInput <= max || max < 0) {
|
||||
return userInput
|
||||
}
|
||||
fmt.Println()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user