spintext

package
v0.0.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package spintext provides randomized loading messages for UI spinners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpinText

type SpinText []string

SpinText is a collection of text messages for spinner display.

func Default

func Default() *SpinText

Default returns a SpinText instance with predefined messages.

func (*SpinText) Random

func (s *SpinText) Random() string

Random returns a randomly selected message from the collection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL