Documentation
¶
Overview ¶
sinq - A concurrent integration testing tool Copyright (C) 2026 Veitangie SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
Constants ¶
View Source
const ( HideCursor = "\033[?25l" ShowCursor = "\033[?25h" ClearLine = "\033[K" Reset = "\033[0m" Red = "\033[31m" Yellow = "\033[33m" Green = "\033[32m" Cyan = "\033[0;36m" Blue = "\033[34m" Magenta = "\033[0;35m" Gray = "\033[90m" LightGray = "\033[38;5;244m" ClearSpinner = "\r" + ClearLine )
Variables ¶
View Source
var ClearSpinnerBytes []byte = []byte(ClearSpinner)
View Source
var SpinnerStates []string = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
Functions ¶
Types ¶
type SpinnerWriter ¶
type SpinnerWriter struct {
UIWriter
// contains filtered or unexported fields
}
func (*SpinnerWriter) Close ¶
func (w *SpinnerWriter) Close() error
func (*SpinnerWriter) StartSpinner ¶
func (w *SpinnerWriter) StartSpinner(ctx context.Context, clock timer.Clock)
Click to show internal directories.
Click to hide internal directories.