SYMBOL INDEX (292 symbols across 25 files) FILE: database/query.go function init (line 15) | func init() { type Query (line 21) | type Query interface type Database (line 26) | type Database interface type Update (line 37) | type Update struct method GetValues (line 44) | func (u *Update) GetValues() map[string]interface{} { method SetValues (line 48) | func (u *Update) SetValues(v map[string]interface{}) { function GetDatabaseForFile (line 53) | func GetDatabaseForFile(database string) *sql.DB { function ProcessSqlQueryForDatabaseType (line 67) | func ProcessSqlQueryForDatabaseType(q Query, rowData map[string]interfac... FILE: database/sqlite.go type SQLite (line 10) | type SQLite struct method Update (line 15) | func (db *SQLite) Update(q *Update) { method GetFileName (line 49) | func (db *SQLite) GetFileName() string { method GetDatabaseReference (line 53) | func (db *SQLite) GetDatabaseReference() *sql.DB { method CloseDatabaseReference (line 57) | func (db *SQLite) CloseDatabaseReference() { method SetDatabaseReference (line 62) | func (db *SQLite) SetDatabaseReference(dbPath string) { method GetPlaceholderForDatabaseType (line 68) | func (db SQLite) GetPlaceholderForDatabaseType() string { method GetTableNamesQuery (line 72) | func (db SQLite) GetTableNamesQuery() string { method GenerateQuery (line 80) | func (db *SQLite) GenerateQuery(u *Update) (string, []string) { FILE: list/defaultitem.go type DefaultItemStyles (line 15) | type DefaultItemStyles struct function NewDefaultItemStyles (line 34) | func NewDefaultItemStyles() (s DefaultItemStyles) { type DefaultItem (line 64) | type DefaultItem interface type DefaultDelegate (line 83) | type DefaultDelegate struct method Height (line 102) | func (d DefaultDelegate) Height() int { method SetSpacing (line 110) | func (d *DefaultDelegate) SetSpacing(i int) { method Spacing (line 115) | func (d DefaultDelegate) Spacing() int { method Update (line 120) | func (d DefaultDelegate) Update(msg tea.Msg, m *Model) tea.Cmd { method Render (line 128) | func (d DefaultDelegate) Render(w io.Writer, m Model, index int, item ... method ShortHelp (line 192) | func (d DefaultDelegate) ShortHelp() []key.Binding { method FullHelp (line 200) | func (d DefaultDelegate) FullHelp() [][]key.Binding { function NewDefaultDelegate (line 93) | func NewDefaultDelegate() DefaultDelegate { FILE: list/keys.go type KeyMap (line 7) | type KeyMap struct function DefaultKeyMap (line 35) | func DefaultKeyMap() KeyMap { FILE: list/list.go type Item (line 26) | type Item interface type ItemDelegate (line 38) | type ItemDelegate interface type filteredItem (line 55) | type filteredItem struct type filteredItems (line 60) | type filteredItems method items (line 62) | func (f filteredItems) items() []Item { method matches (line 70) | func (f filteredItems) matches() [][]int { type FilterMatchesMessage (line 78) | type FilterMatchesMessage type statusMessageTimeoutMsg (line 80) | type statusMessageTimeoutMsg struct type FilterState (line 83) | type FilterState method String (line 93) | func (f FilterState) String() string { constant Unfiltered (line 87) | Unfiltered FilterState = iota constant Filtering (line 88) | Filtering constant FilterApplied (line 89) | FilterApplied type Model (line 102) | type Model struct method SetFilteringEnabled (line 201) | func (m *Model) SetFilteringEnabled(v bool) { method FilteringEnabled (line 210) | func (m Model) FilteringEnabled() bool { method SetShowTitle (line 215) | func (m *Model) SetShowTitle(v bool) { method ShowTitle (line 221) | func (m Model) ShowTitle() bool { method SetShowFilter (line 231) | func (m *Model) SetShowFilter(v bool) { method ShowFilter (line 240) | func (m Model) ShowFilter() bool { method SetShowStatusBar (line 246) | func (m *Model) SetShowStatusBar(v bool) { method ShowStatusBar (line 252) | func (m Model) ShowStatusBar() bool { method SetShowPagination (line 258) | func (m *Model) SetShowPagination(v bool) { method ShowPagination (line 264) | func (m *Model) ShowPagination() bool { method SetShowHelp (line 269) | func (m *Model) SetShowHelp(v bool) { method ShowHelp (line 275) | func (m Model) ShowHelp() bool { method Items (line 280) | func (m Model) Items() []Item { method SetItems (line 285) | func (m *Model) SetItems(i []Item) tea.Cmd { method Select (line 299) | func (m *Model) Select(index int) { method ResetSelected (line 305) | func (m *Model) ResetSelected() { method ResetFilter (line 310) | func (m *Model) ResetFilter() { method SetItem (line 315) | func (m *Model) SetItem(index int, item Item) tea.Cmd { method InsertItem (line 328) | func (m *Model) InsertItem(index int, item Item) tea.Cmd { method RemoveItem (line 343) | func (m *Model) RemoveItem(index int) { method SetDelegate (line 355) | func (m *Model) SetDelegate(d ItemDelegate) { method VisibleItems (line 361) | func (m Model) VisibleItems() []Item { method SelectedItem (line 369) | func (m Model) SelectedItem() Item { method MatchesForItem (line 384) | func (m Model) MatchesForItem(index int) []int { method Index (line 393) | func (m Model) Index() int { method Cursor (line 398) | func (m Model) Cursor() int { method CursorUp (line 404) | func (m *Model) CursorUp() { method CursorDown (line 425) | func (m *Model) CursorDown() { method PrevPage (line 454) | func (m Model) PrevPage() { method NextPage (line 459) | func (m Model) NextPage() { method FilterState (line 464) | func (m Model) FilterState() FilterState { method FilterValue (line 469) | func (m Model) FilterValue() string { method SettingFilter (line 480) | func (m Model) SettingFilter() bool { method Width (line 485) | func (m Model) Width() int { method Height (line 490) | func (m Model) Height() int { method SetSpinner (line 495) | func (m *Model) SetSpinner(spinner spinner.Spinner) { method ToggleSpinner (line 500) | func (m *Model) ToggleSpinner() tea.Cmd { method StartSpinner (line 509) | func (m *Model) StartSpinner() tea.Cmd { method StopSpinner (line 515) | func (m *Model) StopSpinner() { method DisableQuitKeybindings (line 521) | func (m *Model) DisableQuitKeybindings() { method NewStatusMessage (line 528) | func (m *Model) NewStatusMessage(s string) tea.Cmd { method SetSize (line 544) | func (m *Model) SetSize(width, height int) { method SetWidth (line 549) | func (m *Model) SetWidth(v int) { method SetHeight (line 554) | func (m *Model) SetHeight(v int) { method setSize (line 558) | func (m *Model) setSize(width, height int) { method resetFiltering (line 568) | func (m *Model) resetFiltering() { method itemsAsFilterItems (line 580) | func (m Model) itemsAsFilterItems() filteredItems { method updateKeybindings (line 592) | func (m *Model) updateKeybindings() { method updatePagination (line 641) | func (m *Model) updatePagination() { method hideStatusMessage (line 676) | func (m *Model) hideStatusMessage() { method Update (line 684) | func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { method handleBrowsing (line 722) | func (m *Model) handleBrowsing(msg tea.Msg) tea.Cmd { method handleFiltering (line 809) | func (m *Model) handleFiltering(msg tea.Msg) tea.Cmd { method ShortHelp (line 865) | func (m Model) ShortHelp() []key.Binding { method FullHelp (line 901) | func (m Model) FullHelp() [][]key.Binding { method View (line 942) | func (m Model) View() string { method titleView (line 986) | func (m Model) titleView() string { method statusView (line 1031) | func (m Model) statusView() string { method paginationView (line 1074) | func (m Model) paginationView() string { method populatedView (line 1096) | func (m Model) populatedView() string { method helpView (line 1137) | func (m Model) helpView() string { method spinnerView (line 1141) | func (m Model) spinnerView() string { function NewModel (line 153) | func NewModel(items []Item, delegate ItemDelegate, width, height int) Mo... function filterItems (line 1145) | func filterItems(m Model) tea.Cmd { function insertItemIntoSlice (line 1173) | func insertItemIntoSlice(items []Item, item Item, index int) []Item { function removeItemFromSlice (line 1190) | func removeItemFromSlice(i []Item, index int) []Item { function removeFilterMatchFromSlice (line 1199) | func removeFilterMatchFromSlice(i []filteredItem, index int) []filteredI... function countEnabledBindings (line 1208) | func countEnabledBindings(groups [][]key.Binding) (agg int) { function max (line 1219) | func max(a, b int) int { FILE: list/style.go constant bullet (line 9) | bullet = "•" constant ellipsis (line 10) | ellipsis = "…" type Styles (line 15) | type Styles struct function DefaultStyles (line 45) | func DefaultStyles() (s Styles) { FILE: main.go type DatabaseType (line 23) | type DatabaseType constant debugPath (line 26) | debugPath = "" constant DatabaseSQLite (line 30) | DatabaseSQLite DatabaseType = "sqlite" constant DatabaseMySQL (line 31) | DatabaseMySQL DatabaseType = "mysql" function main (line 43) | func main() { function handleFlags (line 162) | func handleFlags() { FILE: tuiutil/csv2sql.go function SQLFileName (line 35) | func SQLFileName(csvFileName string) string { function Convert (line 48) | func Convert(csvFileName, tableName string, keepOrigCols bool) string { function cleanHeader (line 176) | func cleanHeader(headField string) string { FILE: tuiutil/textinput.go constant DefaultBlinkSpeed (line 16) | DefaultBlinkSpeed = time.Millisecond * 530 function nextID (line 27) | func nextID() int { type initialBlinkMsg (line 35) | type initialBlinkMsg struct type blinkMsg (line 39) | type blinkMsg struct type blinkCanceled (line 45) | type blinkCanceled struct type pasteMsg (line 48) | type pasteMsg type pasteErrMsg (line 49) | type pasteErrMsg struct type EchoMode (line 52) | type EchoMode constant EchoNormal (line 56) | EchoNormal EchoMode = iota constant EchoPassword (line 60) | EchoPassword constant EchoNone (line 64) | EchoNone type blinkCtx (line 70) | type blinkCtx struct type CursorMode (line 76) | type CursorMode method String (line 87) | func (c CursorMode) String() string { constant CursorBlink (line 80) | CursorBlink CursorMode = iota constant CursorStatic (line 81) | CursorStatic constant CursorHide (line 82) | CursorHide type TextInputModel (line 96) | type TextInputModel struct method SetValue (line 185) | func (m *TextInputModel) SetValue(s string) { method Value (line 199) | func (m TextInputModel) Value() string { method Cursor (line 204) | func (m TextInputModel) Cursor() int { method SetCursor (line 210) | func (m *TextInputModel) SetCursor(pos int) { method setCursor (line 217) | func (m *TextInputModel) setCursor(pos int) bool { method CursorStart (line 229) | func (m *TextInputModel) CursorStart() { method cursorStart (line 235) | func (m *TextInputModel) cursorStart() bool { method CursorEnd (line 240) | func (m *TextInputModel) CursorEnd() { method CursorMode (line 246) | func (m TextInputModel) CursorMode() CursorMode { method SetCursorMode (line 253) | func (m *TextInputModel) SetCursorMode(mode CursorMode) tea.Cmd { method cursorEnd (line 264) | func (m *TextInputModel) cursorEnd() bool { method Focused (line 269) | func (m TextInputModel) Focused() bool { method FocusCommand (line 275) | func (m *TextInputModel) FocusCommand() tea.Cmd { method Blur (line 287) | func (m *TextInputModel) Blur() { method Reset (line 294) | func (m *TextInputModel) Reset() bool { method handlePaste (line 301) | func (m *TextInputModel) handlePaste(v string) bool { method handleOverflow (line 347) | func (m *TextInputModel) handleOverflow() { method deleteBeforeCursor (line 392) | func (m *TextInputModel) deleteBeforeCursor() bool { method deleteAfterCursor (line 401) | func (m *TextInputModel) deleteAfterCursor() bool { method deleteWordLeft (line 408) | func (m *TextInputModel) deleteWordLeft() bool { method deleteWordRight (line 448) | func (m *TextInputModel) deleteWordRight() bool { method wordLeft (line 484) | func (m *TextInputModel) wordLeft() bool { method wordRight (line 519) | func (m *TextInputModel) wordRight() bool { method echoTransform (line 551) | func (m TextInputModel) echoTransform(v string) string { method Update (line 564) | func (m TextInputModel) Update(msg tea.Msg) (TextInputModel, tea.Cmd) { method View (line 692) | func (m TextInputModel) View() string { method placeholderView (line 729) | func (m TextInputModel) placeholderView() string { method cursorView (line 750) | func (m TextInputModel) cursorView(v string) string { method blinkCmd (line 763) | func (m *TextInputModel) blinkCmd() tea.Cmd { function NewModel (line 157) | func NewModel() TextInputModel { function Blink (line 788) | func Blink() tea.Msg { function Paste (line 793) | func Paste() tea.Msg { function Clamp (line 801) | func Clamp(v, low, high int) int { function min (line 805) | func min(a, b int) int { function max (line 812) | func max(a, b int) int { FILE: tuiutil/theme.go constant HighlightKey (line 4) | HighlightKey = "Highlight" constant HeaderBackgroundKey (line 5) | HeaderBackgroundKey = "HeaderBackground" constant HeaderBorderBackgroundKey (line 6) | HeaderBorderBackgroundKey = "HeaderBorderBackground" constant HeaderForegroundKey (line 7) | HeaderForegroundKey = "HeaderForeground" constant FooterForegroundColorKey (line 8) | FooterForegroundColorKey = "FooterForeground" constant HeaderBottomColorKey (line 9) | HeaderBottomColorKey = "HeaderBottom" constant HeaderTopForegroundColorKey (line 10) | HeaderTopForegroundColorKey = "HeaderTopForeground" constant BorderColorKey (line 11) | BorderColorKey = "BorderColor" constant TextColorKey (line 12) | TextColorKey = "TextColor" FILE: tuiutil/wordwrap.go function Indent (line 16) | func Indent(input string, prefix string, prefixAll bool) string { FILE: viewer/defs.go type SQLSnippet (line 11) | type SQLSnippet struct type ScrollData (line 16) | type ScrollData struct type TableState (line 23) | type TableState struct type UIState (line 28) | type UIState struct type UIData (line 40) | type UIData struct type FormatState (line 48) | type FormatState struct type TuiModel (line 57) | type TuiModel struct FILE: viewer/events.go function HandleMouseEvents (line 17) | func HandleMouseEvents(m *TuiModel, msg *tea.MouseMsg) { function HandleWindowSizeEvents (line 43) | func HandleWindowSizeEvents(m *TuiModel, msg *tea.WindowSizeMsg) tea.Cmd { function HandleClipboardEvents (line 82) | func HandleClipboardEvents(m *TuiModel, str string, command *tea.Cmd, ms... function HandleKeyboardEvents (line 113) | func HandleKeyboardEvents(m *TuiModel, msg *tea.KeyMsg) tea.Cmd { FILE: viewer/global.go type Command (line 13) | type Command function init (line 19) | func init() { FILE: viewer/help.go function GetHelpText (line 3) | func GetHelpText() (help string) { FILE: viewer/lineedit.go constant QueryResultsTableName (line 18) | QueryResultsTableName = "results" type EnterFunction (line 21) | type EnterFunction type LineEdit (line 23) | type LineEdit struct function ExitToDefaultView (line 28) | func ExitToDefaultView(m *TuiModel) { function CreateEmptyBuffer (line 45) | func CreateEmptyBuffer(m *TuiModel, original *interface{}) { function CreatePopulatedBuffer (line 55) | func CreatePopulatedBuffer(m *TuiModel, original *interface{}, str strin... function EditEnter (line 65) | func EditEnter(m *TuiModel) { function handleSQLMode (line 232) | func handleSQLMode(m *TuiModel, input string) { function populateUndo (line 298) | func populateUndo(m *TuiModel) (old string, new string) { FILE: viewer/mode.go function PrepareFormatMode (line 24) | func PrepareFormatMode(m *TuiModel) { function MoveCursorWithinBounds (line 34) | func MoveCursorWithinBounds(m *TuiModel) { function HandleEditInput (line 49) | func HandleEditInput(m *TuiModel, str, val string) (ret bool) { function HandleEditMovement (line 77) | func HandleEditMovement(m *TuiModel, str, val string) (ret bool) { function HandleFormatMovement (line 118) | func HandleFormatMovement(m *TuiModel, str string) (ret bool) { function InsertCharacter (line 220) | func InsertCharacter(m *TuiModel, newlineOrTab string) { function HandleFormatInput (line 256) | func HandleFormatInput(m *TuiModel, str string) bool { function HandleFormatMode (line 305) | func HandleFormatMode(m *TuiModel, str string) { function HandleEditMode (line 388) | func HandleEditMode(m *TuiModel, str string) { FILE: viewer/modelutil.go method WriteMessage (line 16) | func (m *TuiModel) WriteMessage(s string) { method CopyMap (line 25) | func (m *TuiModel) CopyMap() (to map[string]interface{}) { function GetNewModel (line 57) | func GetNewModel(baseFileName string, db *sql.DB) TuiModel { method SetModel (line 122) | func (m *TuiModel) SetModel(c *sql.Rows, db *sql.DB) error { method PopulateDataForResult (line 165) | func (m *TuiModel) PopulateDataForResult(c *sql.Rows, indexMap *int, sch... method SwapTableValues (line 200) | func (m *TuiModel) SwapTableValues(f, t *TableState) { FILE: viewer/serialize.go function Serialize (line 19) | func Serialize(m *TuiModel) (string, error) { function SerializeOverwrite (line 28) | func SerializeOverwrite(m *TuiModel) error { function SerializeSQLiteDB (line 41) | func SerializeSQLiteDB(db *database.SQLite, m *TuiModel) string { function SerializeOverwriteSQLiteDB (line 57) | func SerializeOverwriteSQLiteDB(db *database.SQLite, m *TuiModel) { FILE: viewer/snippets.go method Title (line 18) | func (s SQLSnippet) Title() string { method Description (line 22) | func (s SQLSnippet) Description() string { method FilterValue (line 26) | func (s SQLSnippet) FilterValue() string { type itemDelegate (line 30) | type itemDelegate struct method Height (line 32) | func (d itemDelegate) Height() int { return 1 } method Spacing (line 33) | func (d itemDelegate) Spacing() int { return 0 } method Update (line 34) | func (d itemDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd { method Render (line 38) | func (d itemDelegate) Render(w io.Writer, m list.Model, index int, lis... FILE: viewer/table.go type TableAssembly (line 14) | type TableAssembly function init (line 24) | func init() { FILE: viewer/tableutil.go function AssembleTable (line 13) | func AssembleTable(m *TuiModel) string { method NumHeaders (line 28) | func (m *TuiModel) NumHeaders() int { method CellWidth (line 53) | func (m *TuiModel) CellWidth() int { method GetBaseStyle (line 59) | func (m *TuiModel) GetBaseStyle() lipgloss.Style { method GetColumn (line 76) | func (m *TuiModel) GetColumn() int { method GetRow (line 86) | func (m *TuiModel) GetRow() int { method GetSchemaName (line 97) | func (m *TuiModel) GetSchemaName() string { method GetHeaders (line 102) | func (m *TuiModel) GetHeaders() []string { method SetViewSlices (line 108) | func (m *TuiModel) SetViewSlices() { method GetSchemaData (line 160) | func (m *TuiModel) GetSchemaData() map[string][]interface{} { method GetSelectedColumnName (line 170) | func (m *TuiModel) GetSelectedColumnName() string { method GetColumnData (line 180) | func (m *TuiModel) GetColumnData() []interface{} { method GetRowData (line 188) | func (m *TuiModel) GetRowData() map[string]interface{} { method GetSelectedOption (line 204) | func (m *TuiModel) GetSelectedOption() (*interface{}, int, []interface{}) { method DisplayMessage (line 217) | func (m *TuiModel) DisplayMessage(msg string) { method GetSelectedLineEdit (line 223) | func (m *TuiModel) GetSelectedLineEdit() *LineEdit { function ToggleColumn (line 231) | func ToggleColumn(m *TuiModel) { FILE: viewer/ui.go function GetOffsetForLineNumber (line 22) | func GetOffsetForLineNumber(a int) int { function SelectOption (line 26) | func SelectOption(m *TuiModel) { function ScrollDown (line 54) | func ScrollDown(m *TuiModel) { function ScrollUp (line 74) | func ScrollUp(m *TuiModel) { function DisplayTable (line 96) | func DisplayTable(m *TuiModel) string { function GetFormattedTextBuffer (line 144) | func GetFormattedTextBuffer(m *TuiModel) []string { function DisplayFormatText (line 185) | func DisplayFormatText(m *TuiModel) string { function ShowClipboard (line 223) | func ShowClipboard(m *TuiModel) string { function DisplaySelection (line 228) | func DisplaySelection(m *TuiModel) string { FILE: viewer/util.go constant HiddenTmpDirectoryName (line 22) | HiddenTmpDirectoryName = ".termdbms" constant SQLSnippetsFile (line 23) | SQLSnippetsFile = "snippets.termdbms" function TruncateIfApplicable (line 26) | func TruncateIfApplicable(m *TuiModel, conv string) (s string) { function GetInterfaceFromString (line 53) | func GetInterfaceFromString(str string, original *interface{}) interface... function GetStringRepresentationOfInterface (line 80) | func GetStringRepresentationOfInterface(val interface{}) string { function WriteCSV (line 101) | func WriteCSV(m *TuiModel) { // basically display table but without any ... function WriteTextFile (line 144) | func WriteTextFile(m *TuiModel, text string) (string, error) { function IsUrl (line 152) | func IsUrl(fp string) bool { function FileExists (line 168) | func FileExists(name string) (bool, error) { function SplitLines (line 179) | func SplitLines(s string) []string { function GetScrollDownMaximumForSelection (line 194) | func GetScrollDownMaximumForSelection(m *TuiModel) int { function FormatJson (line 210) | func FormatJson(str string) (string, error) { function Exists (line 222) | func Exists(path string) (bool, error) { function Hash (line 233) | func Hash(s string) uint32 { function CopyFile (line 239) | func CopyFile(src string) (string, int64, error) { function Min (line 276) | func Min(a, b int) int { function Max (line 284) | func Max(a, b int) int { function Abs (line 292) | func Abs(a int) int { FILE: viewer/viewer.go method Data (line 22) | func (m *TuiModel) Data() *UIData { method Table (line 30) | func (m *TuiModel) Table() *TableState { function SetStyles (line 38) | func SetStyles() { method Init (line 60) | func (m TuiModel) Init() tea.Cmd { method Update (line 67) | func (m TuiModel) Update(message tea.Msg) (tea.Model, tea.Cmd) { method View (line 139) | func (m TuiModel) View() string {