Setup.
This commit is contained in:
15
tui/rest/init.go
Normal file
15
tui/rest/init.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package rest
|
||||
|
||||
import "github.com/rivo/tview"
|
||||
|
||||
type Rest struct{}
|
||||
|
||||
func New() Rest {
|
||||
return Rest{}
|
||||
}
|
||||
|
||||
func (r Rest) Root() *tview.Box {
|
||||
return tview.NewBox().
|
||||
SetBorder(true).
|
||||
SetTitle("Hello Rest")
|
||||
}
|
||||
Reference in New Issue
Block a user