-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunner.go
39 lines (37 loc) · 757 Bytes
/
runner.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package year20
import (
"fmt"
"github.com/code-shoily/aocgo/year20/day01"
"github.com/code-shoily/aocgo/year20/day02"
"github.com/code-shoily/aocgo/year20/day03"
"github.com/code-shoily/aocgo/year20/day04"
"github.com/code-shoily/aocgo/year20/day05"
"github.com/code-shoily/aocgo/year20/day06"
"github.com/code-shoily/aocgo/year20/day07"
"github.com/code-shoily/aocgo/year20/day08"
"github.com/code-shoily/aocgo/year20/day09"
)
func SolveForDay(day int) {
switch day {
case 1:
day01.Run()
case 2:
day02.Run()
case 3:
day03.Run()
case 4:
day04.Run()
case 5:
day05.Run()
case 6:
day06.Run()
case 7:
day07.Run()
case 8:
day08.Run()
case 9:
day09.Run()
default:
fmt.Printf("2020/%d has not been solved yet", day)
}
}