mirror of
https://github.com/cjbassi/gotop.git
synced 2025-04-27 13:48:54 +08:00
Updated imports statements
This commit is contained in:
parent
019160e407
commit
f7cf8f93c1
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import "image"
|
||||
import (
|
||||
"image"
|
||||
)
|
||||
|
||||
// Block is a base struct for all other upper level widgets,
|
||||
// consider it as css: display:block.
|
||||
|
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import "image"
|
||||
import (
|
||||
"image"
|
||||
)
|
||||
|
||||
// Cell is a rune with assigned Fg and Bg
|
||||
type Cell struct {
|
||||
|
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import "strconv"
|
||||
import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// Gauge is a progress bar like widget.
|
||||
type Gauge struct {
|
||||
|
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import tb "github.com/nsf/termbox-go"
|
||||
import (
|
||||
tb "github.com/nsf/termbox-go"
|
||||
)
|
||||
|
||||
// Init initializes termui library. This function should be called before any others.
|
||||
// After initialization, the library must be finalized by 'Close' function.
|
||||
|
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import "fmt"
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// BarChart creates multiple bars in a widget:
|
||||
type List struct {
|
||||
|
@ -1,6 +1,8 @@
|
||||
package termui
|
||||
|
||||
import "math"
|
||||
import (
|
||||
"math"
|
||||
)
|
||||
|
||||
const DOTS = '…'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user