tag

package
v0.0.0-...-34721a0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Primary = iota + 1
	Success
	Info
	Warning
	Danger
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Id    string
	Title template.HTML
	Style template.CSS
	Type  template.HTML
}

func New

func New(title template.HTML) *Tag

func (*Tag) Generate

func (t *Tag) Generate() template.HTML

func (*Tag) SetStyle

func (t *Tag) SetStyle(style template.CSS) *Tag

func (*Tag) SetType

func (t *Tag) SetType(typ int) *Tag

Jump to

Keyboard shortcuts

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