Implemented reading from struct fields

This commit is contained in:
2025-02-04 20:43:15 +01:00
parent 03a3bd8f02
commit bde68d4d64
10 changed files with 112 additions and 15 deletions

View File

@ -24,6 +24,7 @@ var examples = []struct {
{"itoa", "", "9223372036854775807", 0},
{"collatz", "", "6 3 10 5 16 8 4 2 1", 0},
{"fizzbuzz", "", "1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz", 0},
{"point", "", "x 1\ny 2\n", 0},
{"prime", "", "2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97", 0},
}