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
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue