mirror of
https://github.com/NotAShelf/mdlinkt.git
synced 2025-10-08 09:52:07 +00:00
clean up flake
This commit is contained in:
parent
50298ea412
commit
768fc24f2b
3 changed files with 8 additions and 8 deletions
2
main.go
2
main.go
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue