diff --git a/_examples/barchart.go b/_examples/barchart.go index fb6a2ca..b568de6 100644 --- a/_examples/barchart.go +++ b/_examples/barchart.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/canvas.go b/_examples/canvas.go index 5eb7387..a5991b9 100644 --- a/_examples/canvas.go +++ b/_examples/canvas.go @@ -1,3 +1,4 @@ +//go:build ignore // +build ignore package main @@ -6,7 +7,7 @@ import ( "image" "log" - ui "github.com/gizak/termui/v3" + ui "github.com/grafana/termui/v3" ) func main() { diff --git a/_examples/demo.go b/_examples/demo.go index dd579c3..acb65a6 100644 --- a/_examples/demo.go +++ b/_examples/demo.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -11,8 +12,8 @@ import ( "math" "time" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { @@ -37,7 +38,7 @@ func main() { } listData := []string{ - "[0] gizak/termui", + "[0] grafana/termui", "[1] editbox.go", "[2] interrupt.go", "[3] keyboard.go", diff --git a/_examples/gauge.go b/_examples/gauge.go index 93bc1ce..69546a4 100644 --- a/_examples/gauge.go +++ b/_examples/gauge.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -10,8 +11,8 @@ import ( "fmt" "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/grid.go b/_examples/grid.go index 8783ef1..50436d4 100644 --- a/_examples/grid.go +++ b/_examples/grid.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -11,8 +12,8 @@ import ( "math" "time" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/hello_world.go b/_examples/hello_world.go index 3ff1c02..f11e9a1 100644 --- a/_examples/hello_world.go +++ b/_examples/hello_world.go @@ -1,3 +1,4 @@ +//go:build ignore // +build ignore package main @@ -5,8 +6,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/image.go b/_examples/image.go index e0d4aba..837b13c 100644 --- a/_examples/image.go +++ b/_examples/image.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -18,8 +19,8 @@ import ( "os" "strings" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/list.go b/_examples/list.go index 0657191..f34cdc4 100644 --- a/_examples/list.go +++ b/_examples/list.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { @@ -22,7 +23,7 @@ func main() { l := widgets.NewList() l.Title = "List" l.Rows = []string{ - "[0] github.com/gizak/termui/v3", + "[0] github.com/grafana/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..f41fd2e 100644 --- a/_examples/paragraph.go +++ b/_examples/paragraph.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/piechart.go b/_examples/piechart.go index daf81b9..55a4554 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 "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) var run = true diff --git a/_examples/plot.go b/_examples/plot.go index ad71f8a..357e841 100644 --- a/_examples/plot.go +++ b/_examples/plot.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -10,8 +11,8 @@ import ( "log" "math" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/sparkline.go b/_examples/sparkline.go index 388bfb4..7231150 100644 --- a/_examples/sparkline.go +++ b/_examples/sparkline.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/stacked_barchart.go b/_examples/stacked_barchart.go index 46e0f39..920f353 100644 --- a/_examples/stacked_barchart.go +++ b/_examples/stacked_barchart.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/table.go b/_examples/table.go index af74957..7d94a55 100644 --- a/_examples/table.go +++ b/_examples/table.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/tabs.go b/_examples/tabs.go index f6e0641..c784135 100644 --- a/_examples/tabs.go +++ b/_examples/tabs.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -9,8 +10,8 @@ package main import ( "log" - ui "github.com/gizak/termui/v3" - "github.com/gizak/termui/v3/widgets" + ui "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) func main() { diff --git a/_examples/tree.go b/_examples/tree.go index b572925..c70a374 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 "github.com/grafana/termui/v3" + "github.com/grafana/termui/v3/widgets" ) type nodeValue string diff --git a/_test/log_events.go b/_test/log_events.go index ae948be..71d6c43 100644 --- a/_test/log_events.go +++ b/_test/log_events.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a MIT license that can // be found in the LICENSE file. +//go:build ignore // +build ignore package main @@ -10,7 +11,7 @@ import ( "fmt" "log" - ui "github.com/gizak/termui/v3" + ui "github.com/grafana/termui/v3" ) // logs all events to the termui window diff --git a/canvas.go b/canvas.go index 9001d98..e299773 100644 --- a/canvas.go +++ b/canvas.go @@ -3,7 +3,7 @@ package termui import ( "image" - "github.com/gizak/termui/v3/drawille" + "github.com/grafana/termui/v3/drawille" ) type Canvas struct { diff --git a/go.mod b/go.mod index 499a4a8..e1574ca 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gizak/termui/v3 +module github.com/grafana/termui/v3 go 1.15 diff --git a/widgets/barchart.go b/widgets/barchart.go index d76de3b..c64f637 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" + . "github.com/grafana/termui/v3" ) type BarChart struct { diff --git a/widgets/gauge.go b/widgets/gauge.go index 3dd921b..95c5d39 100644 --- a/widgets/gauge.go +++ b/widgets/gauge.go @@ -8,7 +8,7 @@ import ( "fmt" "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) type Gauge struct { diff --git a/widgets/image.go b/widgets/image.go index 280802b..4e34643 100644 --- a/widgets/image.go +++ b/widgets/image.go @@ -8,7 +8,7 @@ import ( "image" "image/color" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) type Image struct { diff --git a/widgets/list.go b/widgets/list.go index a4a6cb1..84d04c6 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" + . "github.com/grafana/termui/v3" ) type List struct { diff --git a/widgets/paragraph.go b/widgets/paragraph.go index 5b54dd8..a6f2bd2 100644 --- a/widgets/paragraph.go +++ b/widgets/paragraph.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) type Paragraph struct { diff --git a/widgets/piechart.go b/widgets/piechart.go index 24d0fb5..26c3fe4 100644 --- a/widgets/piechart.go +++ b/widgets/piechart.go @@ -4,7 +4,7 @@ import ( "image" "math" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) const ( diff --git a/widgets/plot.go b/widgets/plot.go index f4870de..f17fa30 100644 --- a/widgets/plot.go +++ b/widgets/plot.go @@ -8,7 +8,7 @@ import ( "fmt" "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) // Plot has two modes: line(default) and scatter. diff --git a/widgets/sparkline.go b/widgets/sparkline.go index 840a8a7..90016a6 100644 --- a/widgets/sparkline.go +++ b/widgets/sparkline.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/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..455ed82 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" + . "github.com/grafana/termui/v3" ) type StackedBarChart struct { diff --git a/widgets/table.go b/widgets/table.go index 05391ad..66d623c 100644 --- a/widgets/table.go +++ b/widgets/table.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" ) /*Table is like: diff --git a/widgets/tabs.go b/widgets/tabs.go index 8cbc92c..ac7f972 100644 --- a/widgets/tabs.go +++ b/widgets/tabs.go @@ -7,7 +7,7 @@ package widgets import ( "image" - . "github.com/gizak/termui/v3" + . "github.com/grafana/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..ddb3afd 100644 --- a/widgets/tree.go +++ b/widgets/tree.go @@ -5,7 +5,7 @@ import ( "image" "strings" - . "github.com/gizak/termui/v3" + . "github.com/grafana/termui/v3" rw "github.com/mattn/go-runewidth" )