mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Widgets have names
This commit is contained in:
committed by
Chris Cummer
parent
ab4774c86a
commit
2f63a56eae
@@ -1,11 +0,0 @@
|
||||
package github
|
||||
|
||||
import (
|
||||
_ "github.com/google/go-github/github"
|
||||
)
|
||||
|
||||
func Fetch() string {
|
||||
//client := github.NewClient(nil)
|
||||
|
||||
return ""
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package github
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/rivo/tview"
|
||||
)
|
||||
|
||||
func Widget() tview.Primitive {
|
||||
widget := tview.NewTextView()
|
||||
widget.SetBorder(true)
|
||||
widget.SetDynamicColors(true)
|
||||
widget.SetTitle(" 🐱 Github ")
|
||||
|
||||
fmt.Fprintf(widget, "%s", "This is github")
|
||||
|
||||
return widget
|
||||
}
|
||||
Reference in New Issue
Block a user