Complete program timer implemented

Signed-off-by: Eoghan Conlon <git@eoghanconlon.ie>
This commit is contained in:
Eoghan Conlon 2024-08-23 12:22:09 +01:00
parent 09d91fd001
commit e771a65910

View file

@ -1,10 +1,15 @@
package main
import "fmt"
import (
"fmt"
"time"
)
func main() {
start := time.Now()
input := FileParse("input/day01/sample.txt")
for _, s := range input {
fmt.Println(s)
}
fmt.Printf("This took %v to run", time.Since(start))
}