bootstrap

package
v0.0.0-...-5e9aa0f Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlertStyleWarning = "warning"
	AlertStyleSuccess = "success"
	AlertStyleDanger  = "danger"
	AlertStyleInfo    = "info"
)

Alert styles.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Style string
	Text  string
}

func NewAlert

func NewAlert(text, style string) Alert

func NewDangerAlert

func NewDangerAlert(text string) Alert

func NewInfoAlert

func NewInfoAlert(text string) Alert

func NewSuccessAlert

func NewSuccessAlert(text string) Alert

func NewWarningAlert

func NewWarningAlert(text string) Alert

func (Alert) Message

func (a Alert) Message() string

func (Alert) Output

func (a Alert) Output() string

Jump to

Keyboard shortcuts

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