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,15 +4,15 @@ import (
"fmt"
"os"
"internal/calibration"
"internal/day01"
)
// Provide a filename as input, get the result on stdout
func main() {
x := 0
seen := calibration.Set{} // we don't use this until day01-2, just added here for backwards compatibility
seen := day01.Set{} // we don't use this until day01-2, just added here for backwards compatibility
x, _ = calibration.ScanFrequencies(os.Args[1], &seen, x)
x, _ = day01.ScanFrequencies(os.Args[1], &seen, x)
fmt.Println("Frequency list scanned, calibration complete: ", x)
}