You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
304 B
20 lines
304 B
// Package main is a generator for the base10000 (4 digit) encoding of the ints |
|
// library. |
|
package main |
|
|
|
import ( |
|
"fmt" |
|
"os" |
|
|
|
"lol.mleku.dev/chk" |
|
) |
|
|
|
func main() { |
|
fh, err := os.Create("pkg/ints/base10k.txt") |
|
if chk.E(err) { |
|
panic(err) |
|
} |
|
for i := range 10000 { |
|
fmt.Fprintf(fh, "%04d", i) |
|
} |
|
}
|
|
|