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,17 +4,17 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"internal/calibration"
|
||||
"internal/day01"
|
||||
)
|
||||
|
||||
// Provide a filename as input, get the result on stdout
|
||||
func main() {
|
||||
x := 0
|
||||
found := false
|
||||
seen := calibration.Set{0: struct{}{}}
|
||||
seen := day01.Set{0: struct{}{}}
|
||||
|
||||
for {
|
||||
x, found = calibration.ScanFrequencies(os.Args[1], &seen, x)
|
||||
x, found = day01.ScanFrequencies(os.Args[1], &seen, x)
|
||||
if found {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue