Files
2019/days/template.go
Parnic bdd007bb4d Reduce changes needed to the template
I always end up making these changes each time I copy from the template.
2022-06-12 13:37:24 -05:00

27 lines
406 B
Go

package days
import (
"fmt"
u "parnic.com/aoc2019/utilities"
)
type DayTemplate struct {
}
func (d *DayTemplate) Parse() {
u.GetIntLines("Templatep")
}
func (d DayTemplate) Num() int {
return -1
}
func (d *DayTemplate) Part1() string {
return fmt.Sprintf("%s%d%s", u.TextBold, 0, u.TextReset)
}
func (d *DayTemplate) Part2() string {
return fmt.Sprintf("%s%d%s", u.TextBold, 0, u.TextReset)
}