Updated imports statements

This commit is contained in:
Caleb Bassi 2018-02-18 23:51:55 -08:00
parent 019160e407
commit f7cf8f93c1
6 changed files with 18 additions and 6 deletions

View File

@ -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.

View File

@ -1,6 +1,8 @@
package termui
import "image"
import (
"image"
)
// Cell is a rune with assigned Fg and Bg
type Cell struct {

View File

@ -1,6 +1,8 @@
package termui
import "strconv"
import (
"strconv"
)
// Gauge is a progress bar like widget.
type Gauge struct {

View File

@ -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.

View File

@ -1,6 +1,8 @@
package termui
import "fmt"
import (
"fmt"
)
// BarChart creates multiple bars in a widget:
type List struct {

View File

@ -1,6 +1,8 @@
package termui
import "math"
import (
"math"
)
const DOTS = '…'