Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys = KeyMap{ FocusPrev: key.NewBinding( key.WithKeys("k", "up"), key.WithHelp("k", "move up"), ), FocusNext: key.NewBinding( key.WithKeys("j", "down"), key.WithHelp("j", "move down"), ), PreviewPageUp: key.NewBinding( key.WithKeys("ctrl+u"), key.WithHelp("ctrl+u", "page up"), ), PreviewPageDown: key.NewBinding( key.WithKeys("ctrl+d"), key.WithHelp("ctrl+d", "page down"), ), ToggleReadme: key.NewBinding( key.WithKeys("r"), key.WithHelp("r", "toggle readme"), ), OpenGithub: key.NewBinding( key.WithKeys("o"), key.WithHelp("o", "open in github"), ), StarRepo: key.NewBinding( key.WithKeys("s"), key.WithHelp("s", "star repo"), ), StarGhEco: key.NewBinding( key.WithKeys("!"), key.WithHelp("!", "star gh-eco"), ), Quit: key.NewBinding( key.WithKeys("esc", "ctrl+c"), key.WithHelp("esc", "quit"), ), Search: key.NewBinding( key.WithKeys("enter"), key.WithHelp("enter", "search"), ), FocusInput: key.NewBinding( key.WithKeys("/"), key.WithHelp("/", "focus input"), ), }
Functions ¶
func BrowserOpen ¶
func BrowserOpen(url string)
func GetNewLines ¶
func MapGetUserQueryToDisplayUser ¶
func MapGetUserQueryToDisplayUser(query queries.GetUserQuery) models.User
func TruncateText ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.