From 17aca4960250353a8c85445f099ba5fe74721936 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 28 Aug 2022 12:37:35 -0400 Subject: [PATCH] Replaced references to github.com with git.tebibyte.media --- _examples/barchart.go | 4 ++-- _examples/canvas.go | 2 +- _examples/demo.go | 4 ++-- _examples/gauge.go | 4 ++-- _examples/grid.go | 4 ++-- _examples/hello_world.go | 4 ++-- _examples/image.go | 4 ++-- _examples/list.go | 6 +++--- _examples/paragraph.go | 4 ++-- _examples/piechart.go | 4 ++-- _examples/plot.go | 4 ++-- _examples/sparkline.go | 4 ++-- _examples/stacked_barchart.go | 4 ++-- _examples/table.go | 4 ++-- _examples/tabs.go | 4 ++-- _examples/tree.go | 4 ++-- _test/log_events.go | 2 +- canvas.go | 2 +- go.mod | 2 +- widgets/barchart.go | 2 +- widgets/gauge.go | 2 +- widgets/image.go | 2 +- widgets/list.go | 2 +- widgets/paragraph.go | 2 +- widgets/piechart.go | 2 +- widgets/plot.go | 2 +- widgets/sparkline.go | 2 +- widgets/stacked_barchart.go | 2 +- widgets/table.go | 2 +- widgets/tabs.go | 2 +- widgets/tree.go | 2 +- 31 files changed, 47 insertions(+), 47 deletions(-) diff --git a/_examples/barchart.go b/_examples/barchart.go index fb6a2ca..319cd9a 100644 --- a/_examples/barchart.go +++ b/_examples/barchart.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/canvas.go b/_examples/canvas.go index 5eb7387..ac16e9f 100644 --- a/_examples/canvas.go +++ b/_examples/canvas.go @@ -6,7 +6,7 @@ import ( "image" "log" - ui "github.com/gizak/termui/v3" + ui "git.tebitea.media/sashakoshka/termui/v3" ) func main() { diff --git a/_examples/demo.go b/_examples/demo.go index dd579c3..057c12b 100644 --- a/_examples/demo.go +++ b/_examples/demo.go @@ -11,8 +11,8 @@ import ( "math" "time" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/gauge.go b/_examples/gauge.go index 93bc1ce..7d5a99b 100644 --- a/_examples/gauge.go +++ b/_examples/gauge.go @@ -10,8 +10,8 @@ import ( "fmt" "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/grid.go b/_examples/grid.go index 8783ef1..39d2ffc 100644 --- a/_examples/grid.go +++ b/_examples/grid.go @@ -11,8 +11,8 @@ import ( "math" "time" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/hello_world.go b/_examples/hello_world.go index 3ff1c02..a3e503d 100644 --- a/_examples/hello_world.go +++ b/_examples/hello_world.go @@ -5,8 +5,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/image.go b/_examples/image.go index e0d4aba..e358b20 100644 --- a/_examples/image.go +++ b/_examples/image.go @@ -18,8 +18,8 @@ import ( "os" "strings" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/list.go b/_examples/list.go index 0657191..9244428 100644 --- a/_examples/list.go +++ b/_examples/list.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { @@ -22,7 +22,7 @@ func main() { l := widgets.NewList() l.Title = "List" l.Rows = []string{ - "[0] github.com/gizak/termui/v3", + "[0] git.tebitea.media/sashakoshka/termui/v3", "[1] [你好,世界](fg:blue)", "[2] [こんにちは世界](fg:red)", "[3] [color](fg:white,bg:green) output", diff --git a/_examples/paragraph.go b/_examples/paragraph.go index 819101d..f418708 100644 --- a/_examples/paragraph.go +++ b/_examples/paragraph.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/piechart.go b/_examples/piechart.go index daf81b9..6a3843d 100644 --- a/_examples/piechart.go +++ b/_examples/piechart.go @@ -9,8 +9,8 @@ import ( "math/rand" "time" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) var run = true diff --git a/_examples/plot.go b/_examples/plot.go index ad71f8a..7bc37ed 100644 --- a/_examples/plot.go +++ b/_examples/plot.go @@ -10,8 +10,8 @@ import ( "log" "math" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/sparkline.go b/_examples/sparkline.go index 388bfb4..77a08d6 100644 --- a/_examples/sparkline.go +++ b/_examples/sparkline.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/stacked_barchart.go b/_examples/stacked_barchart.go index 46e0f39..646eefb 100644 --- a/_examples/stacked_barchart.go +++ b/_examples/stacked_barchart.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/table.go b/_examples/table.go index af74957..4ab4417 100644 --- a/_examples/table.go +++ b/_examples/table.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/tabs.go b/_examples/tabs.go index f6e0641..0c1feef 100644 --- a/_examples/tabs.go +++ b/_examples/tabs.go @@ -9,8 +9,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) func main() { diff --git a/_examples/tree.go b/_examples/tree.go index b572925..eed1e34 100644 --- a/_examples/tree.go +++ b/_examples/tree.go @@ -5,8 +5,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "git.tebitea.media/sashakoshka/termui/v3" + "git.tebitea.media/sashakoshka/termui/v3/widgets" ) type nodeValue string diff --git a/_test/log_events.go b/_test/log_events.go index ae948be..862717e 100644 --- a/_test/log_events.go +++ b/_test/log_events.go @@ -10,7 +10,7 @@ import ( "fmt" "log" - ui "github.com/gizak/termui/v3" + ui "git.tebitea.media/sashakoshka/termui/v3" ) // logs all events to the termui window diff --git a/canvas.go b/canvas.go index 9001d98..f62a488 100644 --- a/canvas.go +++ b/canvas.go @@ -3,7 +3,7 @@ package termui import ( "image" - "github.com/gizak/termui/v3/drawille" + "git.tebitea.media/sashakoshka/termui/v3/drawille" ) type Canvas struct { diff --git a/go.mod b/go.mod index 499a4a8..b7d5a68 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gizak/termui/v3 +module git.tebitea.media/sashakoshka/termui/v3 go 1.15 diff --git a/widgets/barchart.go b/widgets/barchart.go index d76de3b..779f0cb 100644 --- a/widgets/barchart.go +++ b/widgets/barchart.go @@ -10,7 +10,7 @@ import ( rw "github.com/mattn/go-runewidth" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type BarChart struct { diff --git a/widgets/gauge.go b/widgets/gauge.go index 3dd921b..8b5455d 100644 --- a/widgets/gauge.go +++ b/widgets/gauge.go @@ -8,7 +8,7 @@ import ( "fmt" "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type Gauge struct { diff --git a/widgets/image.go b/widgets/image.go index 280802b..86a2536 100644 --- a/widgets/image.go +++ b/widgets/image.go @@ -8,7 +8,7 @@ import ( "image" "image/color" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type Image struct { diff --git a/widgets/list.go b/widgets/list.go index a4a6cb1..b70c29c 100644 --- a/widgets/list.go +++ b/widgets/list.go @@ -9,7 +9,7 @@ import ( rw "github.com/mattn/go-runewidth" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type List struct { diff --git a/widgets/paragraph.go b/widgets/paragraph.go index 5b54dd8..6d18906 100644 --- a/widgets/paragraph.go +++ b/widgets/paragraph.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type Paragraph struct { diff --git a/widgets/piechart.go b/widgets/piechart.go index 24d0fb5..f0e6f76 100644 --- a/widgets/piechart.go +++ b/widgets/piechart.go @@ -4,7 +4,7 @@ import ( "image" "math" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) const ( diff --git a/widgets/plot.go b/widgets/plot.go index f4870de..fb10987 100644 --- a/widgets/plot.go +++ b/widgets/plot.go @@ -8,7 +8,7 @@ import ( "fmt" "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) // Plot has two modes: line(default) and scatter. diff --git a/widgets/sparkline.go b/widgets/sparkline.go index 840a8a7..9b877c4 100644 --- a/widgets/sparkline.go +++ b/widgets/sparkline.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) // Sparkline is like: ▅▆▂▂▅▇▂▂▃▆▆▆▅▃. The data points should be non-negative integers. diff --git a/widgets/stacked_barchart.go b/widgets/stacked_barchart.go index 255bb4a..82ad4da 100644 --- a/widgets/stacked_barchart.go +++ b/widgets/stacked_barchart.go @@ -10,7 +10,7 @@ import ( rw "github.com/mattn/go-runewidth" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) type StackedBarChart struct { diff --git a/widgets/table.go b/widgets/table.go index 05391ad..b9fcb79 100644 --- a/widgets/table.go +++ b/widgets/table.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) /*Table is like: diff --git a/widgets/tabs.go b/widgets/tabs.go index 8cbc92c..9432a4b 100644 --- a/widgets/tabs.go +++ b/widgets/tabs.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" ) // TabPane is a renderable widget which can be used to conditionally render certain tabs/views. diff --git a/widgets/tree.go b/widgets/tree.go index ae1d305..73a4029 100644 --- a/widgets/tree.go +++ b/widgets/tree.go @@ -5,7 +5,7 @@ import ( "image" "strings" - . "github.com/gizak/termui/v3" + . "git.tebitea.media/sashakoshka/termui/v3" rw "github.com/mattn/go-runewidth" )