aoc2024/day-23/solve.go

21 lines
380 B
Go
Raw Normal View History

2024-12-23 19:56:13 +00:00
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
}