aoc2024/day-23/solve.go

21 lines
380 B
Go

package daytwentythree
import (
"github.com/onyx-and-iris/aoc2024/day-23/internal/one"
"github.com/onyx-and-iris/aoc2024/day-23/internal/two"
)
func Solve(buf []byte) (int, string, error) {
answerOne, err := one.Solve(buf)
if err != nil {
return 0, "", err
}
answerTwo, err := two.Solve(buf)
if err != nil {
return 0, "", err
}
return answerOne, answerTwo, nil
}