Rename shared packages by day instead of vaguely by purpose.

This commit is contained in:
Anna Rose Wiggins 2018-12-10 01:06:47 -05:00
parent 42cb05ba7f
commit 31f60eca0e
No known key found for this signature in database
GPG key ID: 8D9ACA841015C59A
22 changed files with 49 additions and 50 deletions

View file

@ -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 {