Complete program timer implemented
Signed-off-by: Eoghan Conlon <git@eoghanconlon.ie>
This commit is contained in:
parent
09d91fd001
commit
e771a65910
1 changed files with 6 additions and 1 deletions
|
@ -1,10 +1,15 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "fmt"
|
import (
|
||||||
|
"fmt"
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
start := time.Now()
|
||||||
input := FileParse("input/day01/sample.txt")
|
input := FileParse("input/day01/sample.txt")
|
||||||
for _, s := range input {
|
for _, s := range input {
|
||||||
fmt.Println(s)
|
fmt.Println(s)
|
||||||
}
|
}
|
||||||
|
fmt.Printf("This took %v to run", time.Since(start))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue