From aef4d2f2362a3dd98ac11f95c5224efb89119c22 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Mon, 4 Feb 2019 04:44:40 +0000 Subject: [PATCH] Update to my fork of go-todotxt --- app_state.go | 2 +- go.mod | 11 +++++++++++ go.sum | 14 ++++++++++++++ model.go | 2 +- screen_main.go | 2 +- screen_task.go | 2 +- task_ops.go | 2 +- 7 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/app_state.go b/app_state.go index b0ec740..8553d88 100644 --- a/app_state.go +++ b/app_state.go @@ -5,7 +5,7 @@ import ( "os" "strings" - todotxt "github.com/JamesClonk/go-todotxt" + todotxt "git.bullercodeworks.com/brian/go-todotxt" "github.com/br0xen/user-config" ) diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..252a0fd --- /dev/null +++ b/go.mod @@ -0,0 +1,11 @@ +module git.bullercodeworks.com/brian/gask + +require ( + git.bullercodeworks.com/brian/go-todotxt v0.0.0-20190204043859-239b7c535cc7 + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e + github.com/br0xen/user-config v0.0.0-20170914134719-16e743ec93a2 + github.com/casimir/xdg-go v0.0.0-20160329195404-372ccc2180da // indirect + github.com/mattn/go-runewidth v0.0.4 // indirect + github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..47701d4 --- /dev/null +++ b/go.sum @@ -0,0 +1,14 @@ +git.bullercodeworks.com/brian/go-todotxt v0.0.0-20190204043859-239b7c535cc7 h1:euAlecu5ui9tjcJKcPk+tmt7wMn+Lkon9p2OPClMlJA= +git.bullercodeworks.com/brian/go-todotxt v0.0.0-20190204043859-239b7c535cc7/go.mod h1:MS8w9yuyAlDxjdxe/3mgfOovifM8aMbH7Z2Ac14J7N8= +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e h1:PF4gYXcZfTbAoAk5DPZcvjmq8gyg4gpcmWdT8W+0X1c= +github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e/go.mod h1:x9wJlgOj74OFTOBwXOuO8pBguW37EgYNx51Dbjkfzo4= +github.com/br0xen/user-config v0.0.0-20170914134719-16e743ec93a2 h1:H/prDPxUZBsK4DQC7ScP3ftSijMtWyetb6ab69DSKrs= +github.com/br0xen/user-config v0.0.0-20170914134719-16e743ec93a2/go.mod h1:lMy7txIyYXt+I/1JgTGBZTdyTNJyNVDCX4Z+lHzNcSM= +github.com/casimir/xdg-go v0.0.0-20160329195404-372ccc2180da h1:hjpZV7G49m1bly++F+Gho1Sbf2+eBW/eTLJWuRkH9Uc= +github.com/casimir/xdg-go v0.0.0-20160329195404-372ccc2180da/go.mod h1:dywSSi3sMtJn2IjiYfJciP9tjVVeIVRa7AE7N5WLUBo= +github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840= +github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ= diff --git a/model.go b/model.go index ff2fff5..9ec005d 100644 --- a/model.go +++ b/model.go @@ -4,7 +4,7 @@ import ( "strings" "time" - todotxt "github.com/JamesClonk/go-todotxt" + todotxt "git.bullercodeworks.com/brian/go-todotxt" ) func (a *AppState) addTask(taskString string) error { diff --git a/screen_main.go b/screen_main.go index 0d365d4..d1667bb 100644 --- a/screen_main.go +++ b/screen_main.go @@ -5,7 +5,7 @@ import ( "strings" "time" - todotxt "github.com/JamesClonk/go-todotxt" + todotxt "git.bullercodeworks.com/brian/go-todotxt" "github.com/br0xen/termbox-util" termbox "github.com/nsf/termbox-go" ) diff --git a/screen_task.go b/screen_task.go index badf3d8..a527c39 100644 --- a/screen_task.go +++ b/screen_task.go @@ -6,7 +6,7 @@ import ( "strings" "time" - todotxt "github.com/JamesClonk/go-todotxt" + todotxt "git.bullercodeworks.com/brian/go-todotxt" "github.com/br0xen/termbox-util" termbox "github.com/nsf/termbox-go" ) diff --git a/task_ops.go b/task_ops.go index 178d322..1c48f03 100644 --- a/task_ops.go +++ b/task_ops.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - todotxt "github.com/JamesClonk/go-todotxt" + todotxt "git.bullercodeworks.com/brian/go-todotxt" ) func (a *AppState) opListTasks(args []string) int {