clean up flake

This commit is contained in:
raf 2023-12-24 21:20:12 +03:00
commit 768fc24f2b
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 8 additions and 8 deletions

View file

@ -20,7 +20,7 @@ type LinkCheckResult struct {
}
func logWithColor(level string, msg string, args ...interface{}) {
timestamp := time.Now().Format("2006/01/02 15:04:05")
timestamp := time.Now().Format("2006/01/02 15:04:05") // TODO: use time.RFC3339?
colorFunc := color.New(color.FgWhite).SprintFunc()
switch level {
case "ERROR":