Documentation
¶
Index ¶
- Variables
- type Navigator
- type NavigatorMemory
- func (n *NavigatorMemory) GetLastSelectedChildOf(modName string) (string, bool)
- func (n *NavigatorMemory) GetLastSelectedParentOf(modName string) (string, bool)
- func (n *NavigatorMemory) SetLastSelectedChildOf(modName, childName string)
- func (n *NavigatorMemory) SetLastSelectedParentOf(modName, parentName string)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var Styles = struct { SelectedModule lipgloss.Style HighlightedModule lipgloss.Style HighlightedUnselectableModule lipgloss.Style SelectableModule lipgloss.Style UnselectableModule lipgloss.Style Preview lipgloss.Style }{ SelectedModule: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("12")).Bold(true), HighlightedModule: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("10")), HighlightedUnselectableModule: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("1")).Faint(true), SelectableModule: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("8")).Faint(false), UnselectableModule: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("1")).Faint(true), Preview: lipgloss.NewStyle().Margin(0, 2).Foreground(lipgloss.Color("70")).Bold(false).Faint(true), }
Functions ¶
This section is empty.
Types ¶
type Navigator ¶
type Navigator struct {
// contains filtered or unexported fields
}
type NavigatorMemory ¶
type NavigatorMemory struct {
// contains filtered or unexported fields
}
func NewNavigatorMemory ¶
func NewNavigatorMemory() *NavigatorMemory
func (*NavigatorMemory) GetLastSelectedChildOf ¶
func (n *NavigatorMemory) GetLastSelectedChildOf(modName string) (string, bool)
func (*NavigatorMemory) GetLastSelectedParentOf ¶
func (n *NavigatorMemory) GetLastSelectedParentOf(modName string) (string, bool)
func (*NavigatorMemory) SetLastSelectedChildOf ¶
func (n *NavigatorMemory) SetLastSelectedChildOf(modName, childName string)
func (*NavigatorMemory) SetLastSelectedParentOf ¶
func (n *NavigatorMemory) SetLastSelectedParentOf(modName, parentName string)
type Option ¶
type Option func(*Navigator)
func WithManifestFilePath ¶
func WithModuleGraph ¶
func WithModuleGraph(graph *manifest.ModuleGraph) Option
Click to show internal directories.
Click to hide internal directories.