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
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"internal/tree"
|
||||
"internal/day07"
|
||||
"internal/util"
|
||||
)
|
||||
|
||||
|
@ -11,9 +11,9 @@ func main() {
|
|||
data := util.ReadInput()
|
||||
|
||||
// Build a tree of dependencies.
|
||||
root := tree.BuildDependencyTree(data)
|
||||
root := day07.BuildDependencyTree(data)
|
||||
|
||||
// Build
|
||||
time := tree.SimulateConstruction(root)
|
||||
time := day07.SimulateConstruction(root)
|
||||
fmt.Println(time)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue