Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVManager ¶
type CSVManager struct {
// contains filtered or unexported fields
}
func NewCSVManager ¶
func NewCSVManager(fullPath string) (mgr *CSVManager, err error)
Creates mgr and loads from fullPath
func (*CSVManager) Init ¶
func (mgr *CSVManager) Init() tea.Cmd
func (*CSVManager) Load ¶
func (mgr *CSVManager) Load() error
Load from mgr.FullPath to csv mgr.Contents
func (*CSVManager) SetCell ¶
func (mgr *CSVManager) SetCell(pos CellPosition, value string) error
Set the contents of one cell by a 0 indexed CellPosition err if out of bounds
func (*CSVManager) View ¶
func (mgr *CSVManager) View() string
type CellPosition ¶
0 indexed
func NewCellPosition ¶
func NewCellPosition(row int, col int) CellPosition
Click to show internal directories.
Click to hide internal directories.