Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/olekukonko/tablewriter
/ types & classes
Types & classes
130 in github.com/olekukonko/tablewriter
⨍
Functions
889
◇
Types & classes
130
↓ 11 callers
TypeAlias
Age
tests/bug_test.go:22
↓ 7 callers
TypeAlias
Cleaner
tests/bug_test.go:15
↓ 6 callers
TypeAlias
Country
tests/table_bench_test.go:13
↓ 6 callers
TypeAlias
Position
Custom error handling library Position defines where formatting applies in the table (e.g., header, footer, or rows).
tw/types.go:15
↓ 1 callers
TypeAlias
Size
_example/filetable/main.go:83
↓ 1 callers
TypeAlias
Time
_example/filetable/main.go:100
TypeAlias
Align
Align specifies the text alignment within a table cell.
tw/types.go:45
TypeAlias
Alignment
tw/types.go:57
Struct
AlignmentConfigBuilder
AlignmentConfigBuilder configures alignment settings
config.go:459
Struct
Basic
tests/struct_test.go:139
Struct
Behavior
Behavior defines settings that control table rendering behaviors, such as column visibility and content formatting.
tw/types.go:167
TypeAlias
Behavior
Behavior is an alias for [tw.Behavior] to configure table behavior settings. This type is deprecated and will be removed in a future version. Depreca
deprecated.go:54
Struct
BehaviorConfigBuilder
BehaviorConfigBuilder configures behavior settings
config.go:784
Struct
Blueprint
Blueprint implements a primary table rendering engine with customizable borders and alignments.
renderer/blueprint.go:14
Struct
Border
Border defines the visibility states of table borders.
tw/renderer.go:111
TypeAlias
BorderStyle
BorderStyle defines different border styling options
tw/symbols.go:32
Struct
ByteCounter
A simple ByteCounter to demonstrate a custom counter implementation.
tests/feature_test.go:262
Interface
Cache
Cache defines a generic interface for a key-value storage with type constraints on keys and values. The keys must be of a type that supports compariso
pkg/twcache/cache.go:8
Struct
Caption
tw/types.go:118
Struct
CellAlignment
CellAlignment defines alignment settings for table cells.
tw/cell.go:52
Struct
CellCallbacks
CellCallbacks holds callback functions for cell processing. Note: These are currently placeholders and not fully implemented.
tw/cell.go:46
Struct
CellConfig
CellConfig combines formatting, padding, and callback settings for a table section.
tw/cell.go:58
Struct
CellContext
CellContext defines the properties and formatting state of an individual table cell.
tw/renderer.go:47
Struct
CellFilter
CellFilter defines filtering functions for cell content.
tw/cell.go:39
Struct
CellFormatting
CellFormatting holds formatting options for table cells.
tw/cell.go:4
Struct
CellMerging
CellMerging holds the configuration for how cells should be merged. This new struct replaces the deprecated MergeMode.
tw/cell.go:19
Struct
CellPadding
CellPadding defines padding settings for table cells.
tw/cell.go:33
Struct
CellWidth
tw/cell.go:72
Struct
Colorized
Colorized renders colored ASCII tables with customizable borders, colors, and alignments.
renderer/colorized.go:27
Struct
ColorizedConfig
ColorizedConfig holds configuration for the Colorized table renderer.
renderer/colorized.go:15
TypeAlias
Colors
Colors is a slice of color attributes for use with fatih/color, such as color.FgWhite or color.Bold.
renderer/tint.go:6
Struct
ColumnConfigBuilder
ColumnConfigBuilder configures column-specific settings
config.go:837
Struct
Compact
Compact configures compact width optimization for merged cells.
tw/types.go:150
Struct
Config
Config represents the table configuration
config.go:8
Struct
ConfigBuilder
ConfigBuilder provides a fluent interface for building Config
config.go:21
Struct
Control
tw/types.go:145
Interface
Counter
Counter defines an interface that combines io.Writer with a method to retrieve a total. This is used by the WithCounter option to allow for counting l
tw/types.go:39
Struct
Detection
Detection aggregates all debug information regarding East Asian width detection.
pkg/twwidth/ea.go:126
Struct
Embedded
tests/struct_test.go:162
Struct
Employee
Employee represents a struct for employee data, simulating a database record.
tests/struct_test.go:15
Struct
Enviroment
pkg/twwidth/ea.go:107
FuncType
EvictCallback
EvictCallback is a function called when an entry is evicted. This includes evictions during Purge or Resize operations.
pkg/twcache/lru.go:10
FuncType
Filter
Filter defines a function type for processing cell content. It takes a slice of strings (representing cell data) and returns a processed slice.
tw/types.go:29
Struct
FooterCallbacksBuilder
FooterCallbacksBuilder configures footer callbacks
config.go:1072
Struct
FooterConfigBuilder
FooterConfigBuilder configures footer settings
config.go:395
Struct
FooterFilterBuilder
FooterFilterBuilder configures footer filtering
config.go:964
Struct
FooterFormattingBuilder
FooterFormattingBuilder configures footer formatting
config.go:557
Struct
FooterMergingBuilder
FooterMergingBuilder configures footer cell merging
config.go:660
Struct
FooterPaddingBuilder
FooterPaddingBuilder configures footer padding
config.go:754
Interface
Formatter
Formatter defines an interface for types that can format themselves into a string. Used for custom formatting of table cell content.
tw/types.go:33
Struct
Formatting
Formatting encapsulates the complete formatting context for a table row. It provides all necessary information to render a row correctly within the ta
tw/renderer.go:38
Struct
Glyphs
Glyphs provides fully independent border symbols with a corners array
tw/symbols.go:976
Struct
HTML
HTML renders tables in HTML format with customizable classes and content handling.
renderer/html.go:29
Struct
HTMLConfig
HTMLConfig defines settings for the HTML table renderer.
renderer/html.go:16
Struct
HeaderCallbacksBuilder
HeaderCallbacksBuilder configures header callbacks
config.go:1000
Struct
HeaderConfigBuilder
HeaderConfigBuilder configures header settings
config.go:267
Struct
HeaderFilterBuilder
HeaderFilterBuilder configures header filtering
config.go:892
Struct
HeaderFormattingBuilder
HeaderFormattingBuilder configures header formatting
config.go:487
Struct
HeaderMergingBuilder
HeaderMergingBuilder configures header cell merging
config.go:592
Struct
HeaderPaddingBuilder
HeaderPaddingBuilder configures header padding
config.go:694
Struct
Junction
Junction handles rendering of table junction points (corners, intersections) with color support.
renderer/junction.go:9
Struct
JunctionContext
renderer/junction.go:19
Struct
KeyValuePair
KeyValuePair represents a single key-value pair from a Mapper.
tw/mapper.go:9
Struct
LRU
LRU is a thread-safe, generic LRU cache with a fixed size. It has zero dependencies, high performance, and full features.
pkg/twcache/lru.go:14
TypeAlias
Level
Level indicates the vertical position of a line in the table (e.g., header, body, or footer).
tw/types.go:93
Struct
LineCounter
LineCounter is the default implementation of the Counter interface. It counts the number of newline characters written to it.
tw/types.go:230
Struct
Lines
Lines manages the visibility of table boundary lines.
tw/renderer.go:95
TypeAlias
Location
Location specifies the horizontal position of a cell or column within a table row.
tw/types.go:106
TypeAlias
Mapper
Mapper is a generic map type with comparable keys and any value type. It provides type-safe operations on maps with additional convenience methods.
tw/mapper.go:16
Struct
Markdown
Markdown renders tables in Markdown format with customizable settings.
renderer/markdown.go:14
Struct
MergeState
MergeState captures how a cell merges across different directions.
tw/renderer.go:56
Struct
MergeStateOption
MergeStateOption represents common attributes for merging in a specific direction.
tw/renderer.go:63
Struct
Name
tests/fn.go:288
Struct
NoTags
tests/struct_test.go:157
Struct
Ocean
Ocean is a streaming table renderer that writes ASCII tables.
renderer/ocean.go:18
Struct
OceanConfig
OceanConfig defines configuration specific to the Ocean renderer.
renderer/ocean.go:15
Struct
Omitted
tests/struct_test.go:152
FuncType
Option
Option defines a function type for configuring a Table instance.
option.go:13
Struct
Options
Options allows for configuring width calculation on a per-call basis.
pkg/twwidth/width.go:22
Struct
Override
tests/bug_test.go:120
Struct
Padding
Padding defines the spacing characters around cell content in all four directions. A zero-value Padding struct will use the table's default padding un
tw/types.go:186
Struct
Person
tests/bug_test.go:29
Struct
PointerTest
tests/struct_test.go:167
Struct
Profile
tests/bug_test.go:35
Interface
Renderer
Renderer defines the interface for rendering tables to an io.Writer. Implementations must handle headers, rows, footers, and separator lines.
tw/renderer.go:11
Struct
Rendition
Rendition holds the configuration for the default renderer.
tw/renderer.go:23
Interface
Renditioning
Renditioning has a method to update its rendition. Let's define an optional interface for this.
tw/renderer.go:32
Struct
RowCallbacksBuilder
RowCallbacksBuilder configures row callbacks
config.go:1036
Struct
RowConfigBuilder
RowConfigBuilder configures row settings
config.go:331
Struct
RowContext
RowContext manages layout properties and relationships for a row and its columns. It maintains state about the current row and its neighbors for prope
tw/renderer.go:72
Struct
RowFilterBuilder
RowFilterBuilder configures row filtering
config.go:928
Struct
RowFormattingBuilder
RowFormattingBuilder configures row formatting
config.go:522
Struct
RowMergingBuilder
RowMergingBuilder configures row cell merging
config.go:626
Struct
RowPaddingBuilder
RowPaddingBuilder configures row padding
config.go:724
Struct
SVG
SVG implements tw.Renderer for SVG output. Manages SVG element generation and merge tracking.
renderer/svg.go:40
Struct
SVGConfig
SVGConfig holds configuration for the SVG renderer. Fields include font, colors, padding, and merge rendering options. Used to customize SVG output ap
renderer/svg.go:17
Struct
Separators
Separators controls the visibility of separators in the table.
tw/renderer.go:87
Struct
Settings
Settings holds configuration preferences for rendering behavior.
tw/renderer.go:103
TypeAlias
Settings
Settings is an alias for [tw.Settings] to configure renderer settings. This type is deprecated and will be removed in a future version. Deprecated: U
deprecated.go:68
TypeAlias
Slicer
Slicer is a generic slice type that provides additional methods for slice manipulation.
tw/slicer.go:6
next →
1–100 of 130, ranked by callers