Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/olekukonko/tablewriter
/ functions
Functions
889 in github.com/olekukonko/tablewriter
⨍
Functions
889
◇
Types & classes
130
↓ 1 callers
Method
formatCellContent
(content string, cellVisualWidth int, padding tw.Padding, align tw.Align)
renderer/ocean.go:389
↓ 1 callers
Method
formatSeparator
formatSeparator generates a Markdown separator (e.g., `---`, `:--`, `:-:`) with alignment indicators.
renderer/markdown.go:242
↓ 1 callers
Function
getCSVReaderFromStringForPartialUpdate
(data string)
tests/csv_test.go:210
↓ 1 callers
Function
getDiff
A simple diff helper (replace with a proper library if needed)
tests/fn.go:247
↓ 1 callers
Method
getEmptyColumnInfo
getEmptyColumnInfo identifies empty columns in row data. Parameter numOriginalCols specifies the total column count. Returns a boolean slice (true for
zoo.go:1467
↓ 1 callers
Function
getHTMLStyle
getHTMLStyle remains the same
renderer/fn.go:112
↓ 1 callers
Function
getHeaderConfig
(alignFlag, wrapFlag string)
cmd/csv2table/csv2table.go:417
↓ 1 callers
Method
getLevel
getLevel maps a position to its rendering level. Parameter position specifies the section (Header, Row, Footer). Returns the corresponding tw.Level (H
tablewriter.go:757
↓ 1 callers
Function
getRowConfig
(alignFlag, wrapFlag string)
cmd/csv2table/csv2table.go:445
↓ 1 callers
Method
getSVGAnchorFromTW
getSVGAnchorFromTW maps tablewriter alignment to SVG text-anchor. Parameter align is the tablewriter alignment setting. Returns the corresponding SVG
renderer/svg.go:408
↓ 1 callers
Function
helperProcess
()
pkg/twwidth/width_test.go:15
↓ 1 callers
Function
isBoxDrawingChar
isBoxDrawingChar checks if a rune is within the Unicode Box Drawing range.
pkg/twwidth/width.go:410
↓ 1 callers
Function
isConservativeModernEnvironment
isConservativeModernEnvironment performs strict checks only for known modern terminals.
pkg/twwidth/ea.go:352
↓ 1 callers
Function
isNumericAttribute
Helper functions
tests/svg_test.go:163
↓ 1 callers
Function
mergeLines
mergeLines combines default and override line settings, preserving defaults for unset (zero) overrides.
renderer/fn.go:129
↓ 1 callers
Function
mergeMarkdownConfig
mergeMarkdownConfig combines user-provided config with Markdown defaults, enforcing Markdown-specific settings.
renderer/markdown.go:44
↓ 1 callers
Function
mergeSeparators
mergeSeparators combines default and override separator settings, preserving defaults for unset (zero) overrides.
renderer/fn.go:146
↓ 1 callers
Function
normalizeHTMLStrict
(s string)
tests/fn.go:204
↓ 1 callers
Function
parseEditorConfig
parseEditorConfig reads tab_width or indent_size from a file.
pkg/twwidth/tab.go:126
↓ 1 callers
Method
prepareContexts
prepareContexts initializes rendering and merge contexts. No parameters are required. Returns renderContext, mergeContext, and an error if initializat
tablewriter.go:1100
↓ 1 callers
Function
process
(r io.Reader)
cmd/csv2table/csv2table.go:93
↓ 1 callers
Function
projectHeuristic
projectHeuristic returns 4 for known project types.
pkg/twwidth/tab.go:197
↓ 1 callers
Method
render
render generates the table output using the configured renderer. No parameters are required. Returns an error if rendering fails in any section.
tablewriter.go:1445
↓ 1 callers
Method
renderBufferedData
renderBufferedData renders all buffered lines to SVG elements. No parameters are required. No return value; populates svgElements buffer.
renderer/svg.go:463
↓ 1 callers
Method
renderVisualLine
renderVisualLine renders a single visual line as SVG elements. Parameters include lineData (cell content), ctx (formatting), and position (section typ
renderer/svg.go:486
↓ 1 callers
Function
showFormattedDiff
(t *testing.T, actual, expected string)
tests/svg_test.go:184
↓ 1 callers
Method
streamCalculateWidths
streamCalculateWidths determines the fixed column widths for streaming mode. It prioritizes widths from StreamConfig.Widths.PerColumn, then StreamConf
stream.go:468
↓ 1 callers
Method
streamRenderBottomBorder
streamRenderBottomBorder renders the bottom border of the table in streaming mode. It uses the fixed streamWidths and the last rendered content to cre
stream.go:707
↓ 1 callers
Method
streamRenderFooter
streamRenderFooter renders the stored footer lines in streaming mode. It's called by Close(). It renders the Row/Footer separator line first. It assum
stream.go:757
↓ 1 callers
Method
streamRenderHeader
streamRenderHeader processes and renders the header section in streaming mode. It calculates/uses fixed stream widths, processes content, renders bord
stream.go:900
↓ 1 callers
Method
streamStoreFooter
streamStoreFooter processes the footer content and stores it for later rendering by Close() in streaming mode. It ensures stream widths are calculated
stream.go:1121
↓ 1 callers
Function
stringToDisplayWidth
stringToDisplayWidth returns a substring of s that has a display width as close as possible to, but not exceeding, targetWidth. It returns the substri
pkg/twwarp/wrap.go:143
↓ 1 callers
Function
termHeuristic
termHeuristic returns a default width based on the TERM variable.
pkg/twwidth/tab.go:229
↓ 1 callers
Function
testWithTabWidth
(t *testing.T, width int, fn func())
tests/feature_test.go:597
Method
Add
(aligns ...Align)
tw/types.go:72
Method
Add
Add inserts or updates a key-value pair. Evicts the oldest if cache is full. Returns true if an eviction occurred.
pkg/twcache/lru.go:123
Method
AddColumnCallback
AddColumnCallback adds a callback function for a specific column in the header
config.go:1028
Method
AddColumnCallback
AddColumnCallback adds a callback function for a specific column in the rows
config.go:1064
Method
AddColumnCallback
AddColumnCallback adds a callback function for a specific column in the footer
config.go:1100
Method
AddColumnFilter
AddColumnFilter adds a filter function for a specific column in the header
config.go:920
Method
AddColumnFilter
AddColumnFilter adds a filter function for a specific column in the rows
config.go:956
Method
AddColumnFilter
AddColumnFilter adds a filter function for a specific column in the footer
config.go:992
Method
AddColumnPadding
AddColumnPadding adds padding for a specific column in the header
config.go:718
Method
AddColumnPadding
AddColumnPadding adds padding for a specific column in the rows
config.go:748
Method
AddColumnPadding
AddColumnPadding adds padding for a specific column in the footer
config.go:778
Method
Alignment
Alignment returns an AlignmentConfigBuilder for header alignment
config.go:278
Method
Alignment
Alignment returns an AlignmentConfigBuilder for row alignment
config.go:342
Method
Alignment
Alignment returns an AlignmentConfigBuilder for footer alignment
config.go:406
Method
Behavior
Behavior returns a BehaviorConfigBuilder for behavior configuration
config.go:62
Function
BenchmarkBlueprint
(b *testing.B)
tests/table_bench_test.go:17
Function
BenchmarkColorized
(b *testing.B)
tests/table_bench_test.go:47
Function
BenchmarkLRU_AddNew
(b *testing.B)
pkg/twcache/lru_bench_test.go:38
Function
BenchmarkLRU_AddUpdate
(b *testing.B)
pkg/twcache/lru_bench_test.go:50
Function
BenchmarkLRU_GetHit
(b *testing.B)
pkg/twcache/lru_bench_test.go:8
Function
BenchmarkLRU_GetMiss
(b *testing.B)
pkg/twcache/lru_bench_test.go:23
Function
BenchmarkLRU_GetOrCompute_Hit
(b *testing.B)
pkg/twcache/lru_bench_test.go:65
Function
BenchmarkLRU_GetOrCompute_Miss
(b *testing.B)
pkg/twcache/lru_bench_test.go:81
Function
BenchmarkMarkdown
(b *testing.B)
tests/table_bench_test.go:37
Function
BenchmarkOcean
(b *testing.B)
tests/table_bench_test.go:27
Function
BenchmarkStreamBlueprint
(b *testing.B)
tests/table_bench_test.go:57
Function
BenchmarkStreamOcean
(b *testing.B)
tests/table_bench_test.go:79
Function
BenchmarkWidthFunction
(b *testing.B)
pkg/twwidth/width_bench_test.go:19
Function
BenchmarkWrapString
Before optimization: BenchmarkWrapString-16 1 2490331031 ns/op 2535184104 B/op 50905550 allocs/op After optimization: BenchmarkWrapString-1
pkg/twwarp/wrap_test.go:130
Function
BenchmarkWrapStringWithSpaces
(b *testing.B)
pkg/twwarp/wrap_test.go:143
Method
BottomLeft
()
tw/deprecated.go:17
Method
BottomLeft
()
tw/deprecated.go:43
Method
BottomLeft
()
tw/deprecated.go:64
Method
BottomLeft
()
tw/deprecated.go:85
Method
BottomLeft
Right junction
tw/deprecated.go:106
Method
BottomLeft
Right junction
tw/deprecated.go:132
Method
BottomMid
()
tw/symbols.go:943
Method
BottomMid
()
tw/symbols.go:998
Method
BottomMid
()
tw/deprecated.go:18
Method
BottomMid
()
tw/deprecated.go:44
Method
BottomMid
()
tw/deprecated.go:65
Method
BottomMid
()
tw/deprecated.go:86
Method
BottomMid
Bottom-left corner
tw/deprecated.go:107
Method
BottomMid
()
tw/deprecated.go:133
Method
BottomRight
()
tw/deprecated.go:19
Method
BottomRight
()
tw/deprecated.go:45
Method
BottomRight
()
tw/deprecated.go:66
Method
BottomRight
()
tw/deprecated.go:87
Method
BottomRight
Bottom junction
tw/deprecated.go:108
Method
BottomRight
LevelFooter junction
tw/deprecated.go:134
Method
Build
Build returns the parent ConfigBuilder
config.go:273
Method
Build
Build returns the parent ConfigBuilder
config.go:337
Method
Build
Build returns the parent ConfigBuilder
config.go:401
Method
Build
Build returns the parent ConfigBuilder
config.go:466
Method
Build
Build returns the parent HeaderConfigBuilder
config.go:494
Method
Build
Build returns the parent RowConfigBuilder
config.go:529
Method
Build
Build returns the parent FooterConfigBuilder
config.go:564
Method
Build
Build returns the parent HeaderConfigBuilder.
config.go:598
Method
Build
Build returns the parent RowConfigBuilder.
config.go:632
Method
Build
Build returns the parent FooterConfigBuilder.
config.go:666
Method
Build
Build returns the parent HeaderConfigBuilder
config.go:701
Method
Build
Build returns the parent RowConfigBuilder
config.go:731
Method
Build
Build returns the parent FooterConfigBuilder
config.go:761
Method
Build
Build returns the parent ConfigBuilder
config.go:790
Method
Build
Build returns the parent ConfigBuilder
config.go:843
Method
Build
Build returns the parent HeaderConfigBuilder
config.go:899
← previous
next →
301–400 of 889, ranked by callers