package formatter
import "github.com/onsi/ginkgo/formatter"
Index ¶
- Constants
- Variables
- func F(format string, args ...interface{}) string
- func Fi(indentation uint, format string, args ...interface{}) string
- func Fiw(indentation uint, maxWidth uint, format string, args ...interface{}) 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 ...interface{}) string
- func (f Formatter) Fi(indentation uint, format string, args ...interface{}) string
- func (f Formatter) Fiw(indentation uint, maxWidth uint, format string, args ...interface{}) string
Constants ¶
const COLS = 80
Variables ¶
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 ¶
- Version
- v1.16.5 (latest)
- Published
- Oct 11, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 weeks ago –
Tools for package owners.