MCPcopy Create free account

hub / github.com/olekukonko/tablewriter / functions

Functions889 in github.com/olekukonko/tablewriter

FunctionTestSetEastAsian
(t *testing.T)
pkg/twwidth/width_test.go:89
FunctionTestSpaces
(t *testing.T)
tests/extra_test.go:470
FunctionTestSplitCase
(t *testing.T)
tw/fn_test.go:8
FunctionTestSplitWords
(t *testing.T)
pkg/twwarp/wrap_test.go:156
FunctionTestStreamBasic
TestStreamBasic tests basic streaming table rendering with header, rows, and footer.
tests/streamer_test.go:93
FunctionTestStreamBorders
(t *testing.T)
tests/basic_test.go:587
FunctionTestStreamCustomPadding
TestStreamCustomPadding tests streaming table with custom padding.
tests/streamer_test.go:408
FunctionTestStreamEmptyCells
TestStreamEmptyCells tests streaming table with empty and sparse cells.
tests/streamer_test.go:452
FunctionTestStreamFormating
(t *testing.T)
tests/streamer_test.go:604
FunctionTestStreamNoHeaderASCII
TestStreamNoHeaderASCII tests streaming table without header using ASCII symbols.
tests/streamer_test.go:237
FunctionTestStreamOnlyHeader
TestStreamOnlyHeader tests streaming table with only a header.
tests/streamer_test.go:497
FunctionTestStreamOnlyHeaderNoHeaderLine
TestStreamOnlyHeaderNoHeaderLine tests streaming table with only a header and no header line.
tests/streamer_test.go:528
FunctionTestStreamSlowOutput
(t *testing.T)
tests/streamer_test.go:558
FunctionTestStreamTableDefault
(t *testing.T)
tests/streamer_test.go:22
FunctionTestStreamTruncation
TestStreamTruncation tests streaming table with long content truncation.
tests/streamer_test.go:356
FunctionTestStreamWithFooterAlign
TestStreamWithFooterAlign tests streaming table with footer and custom alignments.
tests/streamer_test.go:185
FunctionTestStructTableWithDB
TestStructTableWithDB tests rendering a table from struct data fetched from a dummy database.
tests/struct_test.go:49
FunctionTestTableCaptions
TestTableCaptions comprehensive tests for caption functionality
tests/caption_test.go:15
FunctionTestTableWithCustomPadding
(t *testing.T)
tests/basic_test.go:527
FunctionTestTable_Configure_Basic
(t *testing.T)
tests/csv_test.go:26
FunctionTestTable_Options_WithRendition_Borderless
(t *testing.T)
tests/csv_test.go:86
FunctionTestTable_Options_WithRendition_PartialUpdate
(t *testing.T)
tests/csv_test.go:215
FunctionTestTrimLine
(t *testing.T)
tests/feature_test.go:221
FunctionTestTrimTab
(t *testing.T)
tests/feature_test.go:387
FunctionTestTruncate
(t *testing.T)
pkg/twwidth/width_test.go:207
FunctionTestUnicode
(t *testing.T)
pkg/twwarp/wrap_test.go:57
FunctionTestUnicodeTableDefault
(t *testing.T)
tests/extra_test.go:402
FunctionTestUnicodeWithoutHeader
(t *testing.T)
tests/basic_test.go:113
FunctionTestVerticalMerge
(t *testing.T)
tests/merge_test.go:12
FunctionTestVerticalMergeLines
(t *testing.T)
tests/merge_test.go:244
FunctionTestWidth
(t *testing.T)
pkg/twwidth/width_test.go:105
FunctionTestWidthWithEnvironment
(t *testing.T)
pkg/twwidth/width_test.go:327
FunctionTestWrap
(t *testing.T)
pkg/twwarp/wrap_test.go:41
FunctionTestWrapBreakWithConstrainedWidthsNoRightPadding
(t *testing.T)
tests/feature_test.go:147
FunctionTestWrapOneLine
(t *testing.T)
pkg/twwarp/wrap_test.go:51
FunctionTestWrapString
(t *testing.T)
pkg/twwarp/wrap_test.go:185
FunctionTestWrapStringAllocation
WrapString was extremely memory greedy, it performed insane number of allocations for what it was doing. See BenchmarkWrapString for details.
pkg/twwarp/wrap_test.go:87
FunctionTestWrapping
(t *testing.T)
tests/basic_test.go:479
MethodToggle
Toggle switches the state between on and off
tw/state.go:18
MethodTopLeft
()
tw/deprecated.go:12
MethodTopLeft
()
tw/deprecated.go:38
MethodTopLeft
()
tw/deprecated.go:59
MethodTopLeft
()
tw/deprecated.go:80
MethodTopLeft
Blue square (vertical line)
tw/deprecated.go:101
MethodTopLeft
()
tw/deprecated.go:127
MethodTopMid
()
tw/symbols.go:938
MethodTopMid
()
tw/symbols.go:993
MethodTopMid
()
tw/deprecated.go:13
MethodTopMid
()
tw/deprecated.go:39
MethodTopMid
()
tw/deprecated.go:60
MethodTopMid
()
tw/deprecated.go:81
MethodTopMid
Top-left corner
tw/deprecated.go:102
MethodTopMid
()
tw/deprecated.go:128
MethodTopRight
()
tw/deprecated.go:14
MethodTopRight
()
tw/deprecated.go:40
MethodTopRight
()
tw/deprecated.go:61
MethodTopRight
()
tw/deprecated.go:82
MethodTopRight
Top junction
tw/deprecated.go:103
MethodTopRight
LevelHeader junction
tw/deprecated.go:129
MethodTotal
Total implements the Counter interface, returning the final count.
tw/types.go:242
MethodTotal
()
tests/feature_test.go:270
MethodValidate
Validate checks if the Position is one of the allowed values: Header, Footer, or Row.
tw/types.go:18
MethodValidate
Validate checks if the Level is one of the allowed values: Header, Body, or Footer.
tw/types.go:96
MethodValidate
Validate checks if the Location is one of the allowed values: First, Middle, or End.
tw/types.go:109
MethodValues
Values returns a slice containing all values in the map. Returns nil if the map is nil or empty.
tw/mapper.go:103
MethodWithAlign
(align Align)
tw/types.go:135
MethodWithAlignment
WithAlignment sets alignment for the column
config.go:848
MethodWithAlignment
WithAlignment sets the text alignment for footer cells within the formatting configuration. This method is deprecated and will be removed in the next
deprecated.go:128
MethodWithAlignment
WithAlignment sets the text alignment for header cells within the formatting configuration. This method is deprecated and will be removed in the next
deprecated.go:161
MethodWithAlignment
WithAlignment sets the text alignment for row cells within the formatting configuration. This method is deprecated and will be removed in the next ver
deprecated.go:194
MethodWithAutoFormat
WithAutoFormat enables/disables auto formatting
config.go:499
MethodWithAutoFormat
WithAutoFormat enables/disables auto formatting
config.go:534
MethodWithAutoFormat
WithAutoFormat enables/disables auto formatting
config.go:569
MethodWithAutoHeader
WithAutoHeader enables/disables automatic header extraction for structs in Bulk.
config.go:831
MethodWithAutoHide
WithAutoHide enables or disables automatic hiding of empty columns (ignored in streaming mode).
config.go:98
MethodWithAutoHide
WithAutoHide enables/disables auto-hide
config.go:795
MethodWithAutoWrap
WithAutoWrap sets auto wrap mode
config.go:505
MethodWithAutoWrap
WithAutoWrap sets auto wrap mode
config.go:540
MethodWithAutoWrap
WithAutoWrap sets auto wrap mode
config.go:575
FunctionWithBehavior
WithBehavior applies a behavior configuration to the table. Logs the change if debugging is enabled.
option.go:623
FunctionWithBorders
WithBorders configures the table's border settings by updating the renderer's border configuration. This function is deprecated and will be removed in
deprecated.go:30
FunctionWithColumnMax
WithColumnMax sets a global maximum column width for the table in streaming mode. Negative values are ignored, and the change is logged if debugging i
option.go:28
MethodWithCompactMerge
WithCompactMerge enables/disables compact width optimization for merged cells
config.go:825
FunctionWithCondition
Deprecated: use WithEastAsian instead. WithCondition provides a way to set a custom global runewidth.Condition that will be used for all subsequent di
deprecated.go:231
MethodWithDebug
WithDebug enables/disables debug logging
config.go:92
FunctionWithEastAsian
WithEastAsian configures the global East Asian width calculation setting. - state=tw.On: Enables East Asian width calculations. CJK and ambiguous char
option.go:675
FunctionWithFooter
WithFooter sets the table footers by calling the Footer method.
option.go:97
MethodWithFooterAlignment
WithFooterAlignment sets the text alignment for all footer cells. Invalid alignments are ignored.
config.go:105
FunctionWithFooterAlignmentConfig
WithFooterAlignmentConfig applies a footer alignment configuration to the table. Logs the change if debugging is enabled.
option.go:116
FunctionWithFooterAutoFormat
WithFooterAutoFormat enables or disables automatic formatting for footer cells. Logs the change if debugging is enabled.
option.go:566
MethodWithFooterAutoFormat
WithFooterAutoFormat enables or disables automatic formatting (e.g., title case) for footer cells.
config.go:114
FunctionWithFooterAutoWrap
WithFooterAutoWrap sets the wrapping behavior for footer cells. Invalid wrap modes are ignored, and the change is logged if debugging is enabled.
option.go:142
MethodWithFooterAutoWrap
WithFooterAutoWrap sets the wrapping behavior for footer cells (e.g., truncate, normal, break). Invalid wrap modes are ignored.
config.go:121
FunctionWithFooterCallbacks
WithFooterCallbacks sets the callback configuration for footer cells. Logs the change if debugging is enabled.
option.go:167
FunctionWithFooterControl
WithFooterControl sets the control behavior for the table footer. Logs the change if debugging is enabled.
option.go:599
FunctionWithFooterFilter
WithFooterFilter sets the filter configuration for footer cells. Logs the change if debugging is enabled.
option.go:156
MethodWithFooterGlobalPadding
WithFooterGlobalPadding sets the global padding for all footer cells.
config.go:130
MethodWithFooterHide
WithFooterHide enables/disables footer visibility
config.go:819
FunctionWithFooterMaxWidth
WithFooterMaxWidth sets the maximum content width for footer cells. Negative values are ignored, and the change is logged if debugging is enabled.
option.go:189
MethodWithFooterMaxWidth
WithFooterMaxWidth sets the maximum content width for footer cells. Negative values are ignored.
config.go:137
← previousnext →701–800 of 889, ranked by callers