aoc2024/day-21/solve.go

21 lines
373 B
Go
Raw Normal View History

2024-12-25 14:45:38 +00:00
package daytwentyone
import (
"github.com/onyx-and-iris/aoc2024/day-21/internal/one"
"github.com/onyx-and-iris/aoc2024/day-21/internal/two"
)
func Solve(buf []byte) (int, int, error) {
answerOne, err := one.Solve(buf)
if err != nil {
return 0, 0, err
}
answerTwo, err := two.Solve(buf)
if err != nil {
return 0, 0, err
}
return answerOne, answerTwo, nil
}