From 7a99f2af50a83c380491a911486d4111904fd1bf Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 2 May 2019 09:33:21 -0600 Subject: [PATCH] whatever --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 4fe98ce..bde11c8 100755 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ package main import ( "flag" "fmt" - "local/logger" + "log" "strconv" "strings" "time" @@ -92,7 +92,7 @@ func main() { paused := false delim := ':' - logger.Log("Quit with 'q', Pause with 'p', Reset with 'r'") + log.Print("Quit with 'q', Pause with 'p', Reset with 'r'") keych := keyChannel() @@ -120,7 +120,7 @@ func main() { monitor.Stop() } case <-stop: - logger.Logf() + log.Print() confirm <- true return } @@ -152,7 +152,7 @@ func main() { notified = false printTime(&cur, base, &delim, invert, repeat, eta) case 'z': - logger.Logf() + log.Print() printTime(&cur, base, &delim, invert, repeat, eta) } } @@ -202,7 +202,7 @@ func printTime(pRemains *time.Duration, target time.Duration, delim *rune, rever go alertTime(pRemains, target, reverse, repeat) } } - logger.Logf("\r%s", final) + fmt.Printf("\r%s", final) } func alertTime(pRemains *time.Duration, target time.Duration, reverse, repeat bool) {