bubble.go
1package repo
2
3import (
4 tea "github.com/charmbracelet/bubbletea"
5 "github.com/go-git/go-git/v5"
6)
7
8type Bubble struct {
9 repo *git.Repository
10}
11
12func (b *Bubble) Init() tea.Cmd {
13 return nil
14}
15
16func (b *Bubble) Update(tea.Msg) (tea.Model, tea.Cmd) {
17 return nil, nil
18}
19
20func (b *Bubble) View() string {
21 return "repo"
22}