summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2021-07-20 09:31:42 -0500
committerSean E. Russell <ser@ser1.net>2021-07-20 09:31:42 -0500
commitbda9b394d07ac1cec2e00de20b8734e30628816d (patch)
treeb63676105ffff680179d18a697bd2eec49631b44 /config.go
parent35073512622c12eff28f33aaf1579e63b5d1ec7d (diff)
Mostly TODOs, but adds command to build Darwin/ARM
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index 9f59f56..7ff2947 100644
--- a/config.go
+++ b/config.go
@@ -20,6 +20,7 @@ import (
"github.com/xxxserxxx/lingo/v2"
)
+// FIXME github action uses old(er) Go version that doesn't have embed
//go:embed "dicts/*.toml"
var Dicts embed.FS
@@ -50,6 +51,7 @@ type Config struct {
NvidiaRefresh time.Duration
}
+// FIXME parsing can't handle blank lines
func NewConfig() Config {
cd := configdir.New("", "gotop")
cd.LocalPath, _ = filepath.Abs(".")