badge

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorToHexRGB

func ColorToHexRGB(c color.Color) string

Types

type Badge

type Badge struct {
	Label        string
	Message      string
	LabelColor   string
	MessageColor string
	// contains filtered or unexported fields
}

func New

func New(l, m string) *Badge

func (*Badge) Render

func (b *Badge) Render(wr io.Writer) error

Jump to

Keyboard shortcuts

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