breto

A status bar written in Go.
git clone git://git.swab.dev/breto.git
Log | Files | Refs | README | LICENSE

commit 53e59f60b97e999ac2ed0a70640af1b092553de1
parent b58bdb7250fbc5280333f5589829f2fc935745ff
Author: Jaron Swab <jaron@swab.dev>
Date:   Wed,  9 Jun 2021 16:59:49 -0400

added fmt package and fixed typo

Diffstat:
Mmain.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.go b/main.go @@ -6,6 +6,7 @@ import ( "os" "sync" "time" + "fmt" "git.swab.dev/breto.git/blocks" "git.swab.dev/breto.git/format" @@ -92,7 +93,7 @@ func writeToLog(errMsg string, mutex *sync.Mutex) { cache = "." } - path := fmt.Spritf("%s/breto.log", cache) + path := fmt.Sprintf("%s/breto.log", cache) f, err := os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) if err != nil { log.Println(err)