dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit a78232a77977bed00b0678ddc97353fa73342d81
parent c3ba800fd12a6cbbd5f31ab2dcff08b65b3d9a91
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 17 Nov 2022 12:49:16 -0500

lint

Diffstat:
Mcmd/art/main.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/art/main.go b/cmd/art/main.go @@ -137,14 +137,14 @@ func getClassName(idx int) string { const firstRune = 'a' const lastRune = 'z' out := []rune{firstRune} -OUT_LOOP: +outLoop: for i := idx; i > 0; i-- { // If first letter reached "z", increment the next one which is not yet at "z" // If we did not find a suitable letter to increment, let's add a new one in the array, and reset all to "a". for i := range out { if out[i] < lastRune { out[i]++ - continue OUT_LOOP + continue outLoop } out[i] = firstRune }