mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
22 lines
284 B
Go
22 lines
284 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
tea "github.com/charmbracelet/bubbletea"
|
|
"github.com/taigrr/gico/ui"
|
|
)
|
|
|
|
func main() {
|
|
m, err := ui.InitialModel()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
p := tea.NewProgram(m)
|
|
if _, err := p.Run(); err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
}
|