Documentation
¶
Index ¶
- type Metadata
- type Model
- func (m *Model) IsBlank() bool
- func (m *Model) ListDown()
- func (m *Model) ListUp()
- func (m *Model) MetadataLen() int
- func (m *Model) Render(metadataFocussed bool) string
- func (m *Model) ResetRender()
- func (m *Model) ResetRenderIfInvalid()
- func (m *Model) SetBlank()
- func (m *Model) SetDimensions(width int, height int)
- func (m *Model) SetInfoMsg(msg string)
- func (m *Model) SetMetadata(metadata Metadata)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func GetMetadata ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) MetadataLen ¶
func (*Model) ResetRender ¶
func (m *Model) ResetRender()
func (*Model) ResetRenderIfInvalid ¶
func (m *Model) ResetRenderIfInvalid()
func (*Model) SetDimensions ¶
Should be at least 2x2 TODO : Validate this
func (*Model) SetInfoMsg ¶
func (*Model) SetMetadata ¶
Click to show internal directories.
Click to hide internal directories.