mirror of
https://github.com/taigrr/gico.git
synced 2026-04-01 18:58:59 -07:00
chore: modernize Go 1.26, update deps, fix lint issues
- Update Go version from 1.19 to 1.26 - Update all dependencies to latest versions - Fix staticcheck warnings (unused vars, types, functions) - Remove unused svgToPng function - Add GitHub Actions CI workflow
This commit is contained in:
@@ -3,7 +3,6 @@ package ui
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/charmbracelet/bubbles/key"
|
||||
"github.com/charmbracelet/bubbles/list"
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
)
|
||||
@@ -49,15 +48,4 @@ func (s selectableDelegate) Render(w io.Writer, m list.Model, index int, item li
|
||||
w.Write([]byte(str))
|
||||
}
|
||||
|
||||
type delegateKeyMap struct {
|
||||
toggle key.Binding
|
||||
}
|
||||
|
||||
func newDelegateKeyMap() *delegateKeyMap {
|
||||
return &delegateKeyMap{
|
||||
toggle: key.NewBinding(
|
||||
key.WithKeys(" "),
|
||||
key.WithHelp("space", "choose"),
|
||||
),
|
||||
}
|
||||
}
|
||||
// delegateKeyMap and newDelegateKeyMap removed (unused)
|
||||
|
||||
@@ -22,7 +22,6 @@ type (
|
||||
AllRepos selectablelist
|
||||
SelectedRepos []string
|
||||
cursor SettingsCursor
|
||||
highlightedEntry int
|
||||
AuthorList list.Model
|
||||
RepoList list.Model
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user