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/polymer"
|
||||
"internal/day05"
|
||||
"internal/util"
|
||||
)
|
||||
|
||||
|
@ -12,8 +12,8 @@ func main() {
|
|||
result := [26][]byte{}
|
||||
|
||||
for i := 0; i < 26; i++ {
|
||||
result[i] = polymer.StripElement(data, rune('a'+i))
|
||||
result[i] = polymer.ApplyReactions(result[i])
|
||||
result[i] = day05.StripElement(data, rune('a'+i))
|
||||
result[i] = day05.ApplyReactions(result[i])
|
||||
}
|
||||
|
||||
shortest := len(result[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue