Stripped lots of boilerplate prepare for minimal test branch

This commit is contained in:
Jonas Hahn
2025-08-22 18:53:33 +02:00
parent 6f53cddf6c
commit 19e4834a9e
10 changed files with 11 additions and 219 deletions

View File

@@ -1,4 +1,4 @@
package src
package main
import (
"crypto/rand"
@@ -104,7 +104,7 @@ func atoiSafe(s string) int {
}
// minimal sscanf to avoid fmt import just for one call
func fmtSscanf(s, format string, a *int) (int, error) {
func fmtSscanf(s, _ string, a *int) (int, error) {
// Only supports "%d"
n := 0
for i := 0; i < len(s); i++ {