Stripped lots of boilerplate prepare for minimal test branch
This commit is contained in:
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user