Refactor some of our tool code.

This commit is contained in:
Anna Rose Wiggins 2020-12-14 23:27:46 +00:00
parent 4cc37c6e39
commit 2614bb2def
16 changed files with 29 additions and 31 deletions

View file

@ -6,7 +6,7 @@ import (
"os"
"strconv"
"git.annabunch.es/annabunches/adventofcode/2020/lib/fileutils"
"git.annabunch.es/annabunches/adventofcode/2020/lib/util"
)
func distance(x1, y1, x2, y2 int) int {
@ -133,7 +133,7 @@ func step2(values []string) (int, int) {
func main() {
step := os.Args[1]
values := fileutils.InputParserStrings(os.Args[2])
values := util.InputParserStrings(os.Args[2])
x := 0
y := 0