Skip to content

Commit

Permalink
move strconv.go to helper dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle.brown committed Dec 6, 2024
1 parent b09e31e commit 7fa3e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 3/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"adventofcode2024/pkg"
"adventofcode2024/pkg/helper"
"fmt"
"os"
"regexp"
Expand Down Expand Up @@ -47,7 +47,7 @@ func multiply(data string, enableMul bool) int {
}
case "mul":
if mulEnabled {
acc += pkg.MustAtoI(res[2]) * pkg.MustAtoI(res[3])
acc += helper.MustAtoI(res[2]) * helper.MustAtoI(res[3])
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/strconv.go → pkg/helper/strconv.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pkg
package helper

import "strconv"

Expand Down

0 comments on commit 7fa3e57

Please sign in to comment.