package formatter
import "github.com/onsi/ginkgo/v2/formatter"
Index ¶
- Constants
- Variables
- func F(format string, args ...any) string
- func Fi(indentation uint, format string, args ...any) string
- func Fiw(indentation uint, maxWidth uint, format string, args ...any) string
- type ColorMode
- type Formatter
- func New(colorMode ColorMode) Formatter
- func NewWithNoColorBool(noColor bool) Formatter
- func (f Formatter) CycleJoin(elements []string, joiner string, cycle []string) string
- func (f Formatter) F(format string, args ...any) string
- func (f Formatter) Fi(indentation uint, format string, args ...any) string
- func (f Formatter) Fiw(indentation uint, maxWidth uint, format string, args ...any) string
Constants ¶
const COLS = 80
Variables ¶
ColorableStdOut and ColorableStdErr enable color output support on Windows
var SingletonFormatter = New(ColorModeTerminal)
Functions ¶
func F ¶
func Fi ¶
func Fiw ¶
Types ¶
type ColorMode ¶
type ColorMode uint8
type Formatter ¶
type Formatter struct { ColorMode ColorMode // contains filtered or unexported fields }
func New ¶
func NewWithNoColorBool ¶
func (Formatter) CycleJoin ¶
func (Formatter) F ¶
func (Formatter) Fi ¶
func (Formatter) Fiw ¶
Source Files ¶
colorable_others.go formatter.go
- Version
- v2.23.4 (latest)
- Published
- Apr 6, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 12 hours ago –
Tools for package owners.