core

package
v0.0.0-...-46f2bb0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableMetadataInput       = true
	EnableDependencySelection = true
	EnableExtensionSelection  = true
)

Variables

View Source
var (
	GreenStyle = lipgloss.NewStyle().
				Foreground(lipgloss.Color("#01fa65")).
				Border(lipgloss.RoundedBorder()).
				BorderForeground(lipgloss.Color("#01fa65")).
				Bold(true).
				Padding(0, 2)

	LogoStyle     = lipgloss.NewStyle().Foreground(lipgloss.Color("#01FAC6")).Bold(true)
	QuestionStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#01bcfaff")).Bold(true)
	BlueStyle     = lipgloss.NewStyle().Foreground(lipgloss.Color("#73bffcff")).Bold(true)

	StartedCode = lipgloss.NewStyle().
				Margin(0).
				Padding(0, 1).
				Foreground(lipgloss.Color("#FFFF00")).
				Bold(true)

	DeprecatedCode = lipgloss.NewStyle().
					Margin(0).
					Padding(0, 1).
					Background(lipgloss.Color("#757575ff")).
					Foreground(lipgloss.Color("#ffffffff")).
					Bold(true)

	PreviewCode = lipgloss.NewStyle().
				Margin(0).
				Padding(0, 1).
				Background(lipgloss.Color("#2a83ffff")).
				Foreground(lipgloss.Color("#ffffffff")).
				Bold(true)

	ExperimentalCode = lipgloss.NewStyle().
						Margin(0).
						Padding(0, 1).
						Background(lipgloss.Color("#ff5219ff")).
						Foreground(lipgloss.Color("#ffffffff")).
						Bold(true)

	SelectedStyle   = lipgloss.NewStyle().Foreground(lipgloss.Color("#f476ffff")).Bold(true)
	UnSelectedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#b5b5b5ff")).Bold(true)
	GreyStyle       = lipgloss.NewStyle().Foreground(lipgloss.Color("#7a7a7aff")).Bold(true)

	RedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#ff3a3aff")).Bold(false)

	TipMsgStyle    = lipgloss.NewStyle().PaddingLeft(1).Foreground(lipgloss.Color("190")).Italic(true)
	EndingMsgStyle = lipgloss.NewStyle().PaddingLeft(1).Foreground(lipgloss.Color("170")).Bold(true)
)

Functions

This section is empty.

Types

type Set

type Set[T comparable] map[T]struct{}

func New

func New[T comparable]() Set[T]

func (Set[T]) Add

func (s Set[T]) Add(item T)

func (Set[T]) Clear

func (s Set[T]) Clear()

func (Set[T]) Has

func (s Set[T]) Has(item T) bool

func (Set[T]) Remove

func (s Set[T]) Remove(item T)

func (Set[T]) Size

func (s Set[T]) Size() int

func (Set[T]) ToSlice

func (s Set[T]) ToSlice() []T

Jump to

Keyboard shortcuts

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