update gitfetch to use builtins, add config option for author

This commit is contained in:
2023-02-07 15:16:42 -08:00
parent 9271b27511
commit 7d080ff153
3 changed files with 30 additions and 71 deletions

View File

@@ -2,7 +2,6 @@ package common
import (
"bytes"
"fmt"
"image/color"
"sync"
@@ -35,7 +34,6 @@ func SetColorScheme(c []color.Color) {
}
func ColorForFrequency(freq, min, max int) sc.SimpleColor {
fmt.Printf("f: %d, min: %d, max: %d\n", freq, min, max)
if freq == 0 {
return sc.SimpleColor(0)
}