Update godoc

This commit is contained in:
Caleb Bassi 2018-11-28 20:12:36 -08:00
parent 9f9525dc63
commit 71aca577bc
2 changed files with 3 additions and 22 deletions

View File

@ -21,6 +21,8 @@ Note that termui is currently undergoing major API changes so be prepared for th
### Hello World
```go
package main
import ui "github.com/gizak/termui"
func main() {

23
doc.go
View File

@ -3,27 +3,6 @@
// be found in the LICENSE file.
/*
Package termui is a library designed for creating command line UI. For more info, goto http://github.com/gizak/termui
A simplest example:
package main
import ui "github.com/gizak/termui"
func main() {
if err:=ui.Init(); err != nil {
panic(err)
}
defer ui.Close()
g := ui.NewGauge()
g.Percent = 50
g.Width = 50
g.BorderLabel = "Gauge"
ui.Render(g)
ui.Loop()
}
Package termui is a library for creating terminal user interfaces (TUIs) using widgets.
*/
package termui