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
Method
IsEmpty
IsEmpty returns true if the slice is nil or has zero elements.
tw/slicer.go:52
Function
IsNumeric
IsNumeric checks if a string represents a valid integer or floating-point number.
tw/fn.go:108
Method
IsTab
IsTab returns true if t equals the default tab.
pkg/twwidth/tab.go:20
Method
Last
Last returns the last element of the slice, or the zero value if empty.
tw/slicer.go:67
Method
Line
Line is a no-op for Markdown, as only the header separator is rendered (handled by Header).
renderer/markdown.go:114
Method
Line
Line is a no-op for HTML rendering, as structural lines are handled by tags.
renderer/html.go:411
Method
Line
Line handles border rendering (ignored in SVG renderer). Parameters include w (w) and ctx (formatting). No return value; SVG borders are drawn in Clos
renderer/svg.go:437
Method
Line
Line renders a horizontal row line with colored junctions and segments, skipping zero-width columns.
renderer/colorized.go:169
Method
Line
Line renders a full horizontal row line with junctions and segments.
renderer/blueprint.go:79
Method
Logger
Logger retrieves the table's logger instance. No parameters are required. Returns the ll.Logger instance used for debug tracing.
tablewriter.go:798
Method
Logger
(logger *ll.Logger)
renderer/markdown.go:62
Method
Logger
(logger *ll.Logger)
renderer/ocean.go:53
Method
Logger
(logger *ll.Logger)
renderer/html.go:71
Method
Logger
(logger *ll.Logger)
renderer/svg.go:668
Method
Logger
Logger sets the logger for the Colorized instance.
renderer/colorized.go:310
Method
Logger
Logger sets the logger for the Blueprint instance.
renderer/blueprint.go:250
Method
Map
Map returns a new Slicer with each element transformed by the provided function.
tw/slicer.go:91
Method
MapValues
MapValues returns a new Mapper with the same keys but values transformed by the provided function.
tw/mapper.go:134
Function
MaskCard
MaskCard masks credit card-like numbers, keeping only the last four digits visible.
tests/fn.go:45
Function
MaskEmail
MaskEmail masks email addresses in a slice of strings, replacing all but the first character of the local part with asterisks.
tests/fn.go:21
Function
MaskPassword
MaskPassword masks strings that resemble passwords (containing "pass" or 8+ characters) with asterisks.
tests/fn.go:35
Method
Merging
Merging returns a HeaderMergingBuilder for configuring cell merging.
config.go:296
Method
Merging
Merging returns a FooterMergingBuilder for configuring cell merging.
config.go:424
Method
MidLeft
()
tw/symbols.go:940
Method
MidLeft
()
tw/symbols.go:995
Method
MidLeft
()
tw/deprecated.go:15
Method
MidLeft
()
tw/deprecated.go:62
Method
MidLeft
()
tw/deprecated.go:83
Method
MidLeft
Top-right corner
tw/deprecated.go:104
Method
MidRight
()
tw/symbols.go:941
Method
MidRight
()
tw/symbols.go:996
Method
MidRight
()
tw/deprecated.go:16
Method
MidRight
()
tw/deprecated.go:63
Method
MidRight
()
tw/deprecated.go:84
Method
MidRight
Left junction
tw/deprecated.go:105
Function
Min
Min returns the smaller of two integers.
tw/fn.go:188
Method
Name
Implement all Symbols interface methods
tw/symbols.go:933
Method
Name
Glyphs symbol methods
tw/symbols.go:988
Method
Name
SymbolASCII symbol methods
tw/deprecated.go:8
Method
Name
SymbolUnicode symbol methods
tw/deprecated.go:34
Method
Name
SymbolMarkdown symbol methods
tw/deprecated.go:55
Method
Name
SymbolNothing symbol methods
tw/deprecated.go:76
Method
Name
SymbolGraphical symbol methods
tw/deprecated.go:97
Method
Name
SymbolMerger symbol methods
tw/deprecated.go:123
Function
NewBoolMapper
(keys ...K)
tw/mapper.go:214
Function
NewCSV
NewCSV Start A new table by importing from a CSV file Takes io.Writer and csv File name
csv.go:11
Function
NewIdentityMapper
(keys ...K)
tw/mapper.go:236
Function
NewIntMapper
(keys ...K)
tw/mapper.go:225
Function
NewLRU
NewLRU creates a new LRU cache with the given size. Returns nil if size <= 0, acting as a disabled cache. Caps size at 100,000 for reasonableness.
pkg/twcache/lru.go:38
Function
NewSlicer
NewSlicer creates and returns a new initialized Slicer.
tw/slicer.go:9
Function
Or
Or provides a ternary-like operation for strings, returning 'valid' if cond is true, else 'inValid'.
tw/fn.go:172
Method
Or
Or returns this state if enabled, else the provided state
tw/state.go:34
Method
Padding
Padding returns a HeaderPaddingBuilder for header padding
config.go:304
Method
Padding
Padding returns a RowPaddingBuilder for row padding
config.go:368
Method
Padding
Padding returns a FooterPaddingBuilder for footer padding
config.go:432
Method
Prepend
Prepend adds elements to the beginning of the slice and returns the new slice.
tw/slicer.go:38
Method
Preview
Preview renders a small sample table to visualize the border style
tw/symbols.go:966
Method
Preview
Preview renders a small sample table to visualize the border style
tw/symbols.go:1005
Method
Purge
Purge clears all entries from the cache. Calls onEvict for each entry if set. Resets hit/miss counters.
pkg/twcache/lru.go:168
Method
Rendition
(config tw.Rendition)
renderer/ocean.go:456
Method
Rendition
Rendition updates the parts of ColorizedConfig that correspond to tw.Rendition by merging the provided newRendition. Color-specific Tints are not modi
renderer/colorized.go:679
Method
Rendition
Rendition updates the Blueprint's configuration.
renderer/blueprint.go:602
Method
Reset
Reset clears all data (headers, rows, footers, caption) and rendering state from the table, allowing the Table instance to be reused for a new table w
tablewriter.go:476
Method
Reset
Reset clears the renderer's internal state, including debug traces.
renderer/markdown.go:119
Method
Reset
Reset clears the renderer's internal state, including debug traces.
renderer/colorized.go:315
Method
Row
Renders table header
tw/renderer.go:14
Method
Row
()
tw/deprecated.go:10
Method
Row
()
tw/deprecated.go:36
Method
Row
()
tw/deprecated.go:57
Method
Row
()
tw/deprecated.go:78
Method
Row
Orange square (matches mid junctions)
tw/deprecated.go:99
Method
Row
Main crossing symbol
tw/deprecated.go:125
Method
Row
Row renders a Markdown table data row.
renderer/markdown.go:95
Method
Row
(row []string, ctx tw.Formatting)
renderer/ocean.go:133
Method
Row
Row renders a <tr> element within <tbody>, supporting horizontal and vertical merges.
renderer/html.go:210
Method
Row
Row buffers a row line for SVG rendering. Parameters include w (w), rowLine (cells), and ctx (formatting). No return value; stores data for later rend
renderer/svg.go:663
Method
Row
Row renders a table data row with configured colors and formatting.
renderer/colorized.go:321
Method
Row
Row renders a table data row with configured formatting.
renderer/blueprint.go:255
Method
Set
(col int, align Align)
tw/types.go:78
Function
SetForceNarrow
SetForceNarrow to preserve the new flag, or create a new setter
pkg/twwidth/width.go:133
Method
Slicer
Slicer converts the Mapper to a Slicer of key-value pairs.
tw/mapper.go:152
Function
SlicerToMapper
SlicerToMapper converts a Slicer of KeyValuePair to a Mapper.
tw/slicer.go:125
Method
Start
(w io.Writer)
renderer/markdown.go:123
Method
Start
(w io.Writer)
renderer/ocean.go:74
Method
Start
Start begins the HTML table rendering by opening the <table> tag.
renderer/html.go:99
Method
Start
Start initializes SVG rendering. Parameter w is the output w. Returns nil; prepares internal state.
renderer/svg.go:675
Method
Start
Start initializes the rendering process (no-op in this implementation).
renderer/colorized.go:337
Method
Start
Start initializes the rendering process (no-op in this implementation).
renderer/blueprint.go:265
Method
String
String returns the string representation of a border style
tw/symbols.go:187
Method
String
()
tw/types.go:59
Method
String
()
pkg/twwidth/tab.go:47
Method
String
()
tests/table_bench_test.go:15
Function
TestAlignmentMigration
(t *testing.T)
tests/basic_test.go:681
Function
TestAutoHeaderScenarios
(t *testing.T)
tests/struct_test.go:138
Function
TestAutoHideFeature
(t *testing.T)
tests/extra_test.go:209
Function
TestAutoUseEastAsian_Cache
(t *testing.T)
pkg/twwidth/ea_test.go:164
Function
TestBasicTableASCII
(t *testing.T)
tests/basic_test.go:141
Function
TestBasicTableDefault
(t *testing.T)
tests/basic_test.go:13
Function
TestBasicTableDefaultBorder
(t *testing.T)
tests/basic_test.go:36
Function
TestBasicTableUnicodeDouble
(t *testing.T)
tests/basic_test.go:187
← previous
next →
501–600 of 889, ranked by callers