From 92293d6da446b7222d0b25bae16ed932498967be Mon Sep 17 00:00:00 2001 From: CamiloGarciaLaRotta Date: Sun, 25 Oct 2020 19:18:15 +0000 Subject: [PATCH] refactor: use babble version doesn't require access to /usr/share/dict/words Now we can run kboard from a container without sudo privileges. --- go.mod | 3 ++- go.sum | 2 ++ main.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index b741d3d..0814036 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,10 @@ module github.com/CamiloGarciaLaRotta/kboard go 1.15 require ( + github.com/Beartime234/babble v0.0.0-20200109202521-38f0c4feb5ef github.com/charmbracelet/bubbles v0.7.1 github.com/charmbracelet/bubbletea v0.12.1 github.com/onsi/ginkgo v1.14.2 // indirect github.com/onsi/gomega v1.10.3 // indirect - github.com/tjarratt/babble v0.0.0-20191209142150-eecdf8c2339d + github.com/tjarratt/babble v0.0.0-20191209142150-eecdf8c2339d // indirect ) diff --git a/go.sum b/go.sum index 227eaaa..9bdec75 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/Beartime234/babble v0.0.0-20200109202521-38f0c4feb5ef h1:c/6RtGknD3UhHe9n9rRZB9YF08mK5nGpQC7btjhcyng= +github.com/Beartime234/babble v0.0.0-20200109202521-38f0c4feb5ef/go.mod h1:NDXZV9aU0jpXWAc3PpBgglQXPZUq0xRHfZ1THgfst+k= github.com/atotto/clipboard v0.1.2 h1:YZCtFu5Ie8qX2VmVTBnrqLSiU9XOWwqNRmdT3gIQzbY= github.com/atotto/clipboard v0.1.2/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/charmbracelet/bubbles v0.7.1 h1:qvXoIh7ItTA+IA+IO2xxuI9ntp+uVprDAK+IoMzC5OI= diff --git a/main.go b/main.go index 8e5d5e6..530b2fe 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( input "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" - "github.com/tjarratt/babble" + "github.com/Beartime234/babble" ) const usage = `kboard [number]