refactor: format with gofumpt

This commit is contained in:
Arek 2025-03-15 11:50:49 +01:00
parent 7a1ca2516c
commit 3b65e74394
2 changed files with 4 additions and 3 deletions

View File

@ -2,14 +2,15 @@ package main
import (
"flag"
"go.ar76.eu/arek/gol/gol"
"go.ar76.eu/arek/gol/term"
"log"
"os"
"os/signal"
"runtime/pprof"
"syscall"
"time"
"go.ar76.eu/arek/gol/gol"
"go.ar76.eu/arek/gol/term"
)
func main() {

View File

@ -9,7 +9,7 @@ import (
type Arena [][]bool
func New(ysize, xsize int) Arena {
var arena = make([][]bool, ysize)
arena := make([][]bool, ysize)
for i := range ysize {
arena[i] = make([]bool, xsize)
}