diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-01-22 17:30:34 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-01-22 17:30:34 -0500 |
| commit | 6ea734a324e3e5b33f9a7c7fe9882968a0657f85 (patch) | |
| tree | cbe88888c11f1dd29a8690401d09ce4539e79b6f /ui.go | |
| parent | 5e59867578f01fdaa5a62558cf23935b95e807ad (diff) | |
| download | pfc-6ea734a324e3e5b33f9a7c7fe9882968a0657f85.zip | |
use builtin min() function from go 1.21
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -156,11 +156,3 @@ func fill(s []rune, c rune) { s[i] = c } } - -// min returns the lesser of x or y. -func min(x, y int) int { - if x < y { - return x - } - return y -} |