dkforest

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

commit 58772a494cb8ddb645e95fa270021375e8663be7
parent e24088fd53cec0dc8b4ae3b0d8848b24dd7ae5ef
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 12 Jun 2023 13:44:53 -0700

cleanup

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -119,8 +119,7 @@ const ( LastMoveColor = "rgba(0, 255, 0, 0.2)" ) -func GetID(row, col int, isFlipped bool) int { - var id int +func GetID(row, col int, isFlipped bool) (id int) { if isFlipped { id = row*8 + (7 - col) } else {