Implement graphql api client and update gui to display data

This commit is contained in:
2023-02-23 22:15:39 -07:00
parent 9ba09da4fd
commit 268ac8f1e4
15 changed files with 1498 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
package screens
import tea "github.com/charmbracelet/bubbletea"
type ErrorScreen struct {
Err error
}
func (m ErrorScreen) Init() tea.Cmd {
return nil
}
func (m ErrorScreen) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, nil
}
func (m ErrorScreen) View() string {
return m.Err.Error()
}