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

@ -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])