Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileViewerModel ¶
type FileViewerModel struct {
// contains filtered or unexported fields
}
FileViewerModel is the file viewer model. it renders a selected file's contents with pretty formatting.
func New ¶
func New() FileViewerModel
func (FileViewerModel) SetIsActive ¶
func (m FileViewerModel) SetIsActive(active bool) FileViewerModel
SetIsActive toggles active/focusState state for this model.
Click to show internal directories.
Click to hide internal directories.