File: preset.go

package info (click to toggle)
golang-github-olekukonko-tablewriter 1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 1,380 kB
  • sloc: makefile: 4
file content (18 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package tw

// BorderNone defines a border configuration with all sides disabled.
var (
	// PaddingNone represents explicitly empty padding (no spacing on any side)
	// Equivalent to Padding{Overwrite: true}
	PaddingNone    = Padding{Left: Empty, Right: Empty, Top: Empty, Bottom: Empty, Overwrite: true}
	BorderNone     = Border{Left: Off, Right: Off, Top: Off, Bottom: Off}
	LinesNone      = Lines{ShowTop: Off, ShowBottom: Off, ShowHeaderLine: Off, ShowFooterLine: Off}
	SeparatorsNone = Separators{ShowHeader: Off, ShowFooter: Off, BetweenRows: Off, BetweenColumns: Off}
)

var (

	// PaddingDefault represents standard single-space padding on left/right
	// Equivalent to Padding{Left: " ", Right: " ", Overwrite: true}
	PaddingDefault = Padding{Left: " ", Right: " ", Overwrite: true}
)