Rename shared packages by day instead of vaguely by purpose.
This commit is contained in:
parent
42cb05ba7f
commit
31f60eca0e
22 changed files with 49 additions and 50 deletions
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"internal/tree"
|
||||
"internal/day07"
|
||||
"internal/util"
|
||||
)
|
||||
|
||||
|
@ -12,10 +12,10 @@ func main() {
|
|||
data := util.ReadInput()
|
||||
|
||||
// Build a tree of dependencies.
|
||||
root := tree.BuildDependencyTree(data)
|
||||
root := day07.BuildDependencyTree(data)
|
||||
|
||||
// Walk the tree and determine the correct ordering.
|
||||
order := tree.FindOrder(root)
|
||||
order := day07.FindOrder(root)
|
||||
|
||||
output := strings.Builder{}
|
||||
for _, node := range order {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue