1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Adds in Google Calendar and Weather support (hard-coded right now)

This commit is contained in:
Chris Cummer
2018-03-28 19:40:20 -07:00
committed by Chris Cummer
parent 176052c78f
commit 8946e5cf24
12 changed files with 301 additions and 27 deletions

11
github/client.go Normal file
View File

@@ -0,0 +1,11 @@
package github
import (
_ "github.com/google/go-github/github"
)
func Fetch() string {
//client := github.NewClient(nil)
return ""
}

View File

@@ -1,3 +0,0 @@
package wtfgithub
import ()

18
github/widget.go Normal file
View File

@@ -0,0 +1,18 @@
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
}