diff options
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,7 @@ package gotop import ( "bufio" "bytes" + "embed" "fmt" "io" "io/ioutil" @@ -19,9 +20,12 @@ import ( "github.com/shibukawa/configdir" "github.com/xxxserxxx/gotop/v4/colorschemes" "github.com/xxxserxxx/gotop/v4/widgets" - "github.com/xxxserxxx/lingo" + "github.com/xxxserxxx/lingo/v2" ) +//go:embed "dicts/*.toml" +var Dicts embed.FS + // CONFFILE is the name of the default config file const CONFFILE = "gotop.conf" |