feedback

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package feedback renders success/error notices shown inside views.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feedback

type Feedback struct {
	Text string
	Err  bool
}

func Error

func Error(text string) Feedback

func Success

func Success(text string) Feedback

func (Feedback) Empty

func (f Feedback) Empty() bool

func (Feedback) View

func (f Feedback) View() string

Jump to

Keyboard shortcuts

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