inform

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inform

func Inform(w io.Writer, level Level, message string, noColor ...bool)

func InformWithPrefix

func InformWithPrefix(w io.Writer, prefix string, prefixColor string, value string)

Types

type Level

type Level string
const (
	Created Level = "created"
	Deleted Level = "deleted"
	Updated Level = "updated"
	Success Level = "success"
	Info    Level = "info"
	Error   Level = "error"
	Ai      Level = "ai"
)

func (Level) String

func (l Level) String() string

Jump to

Keyboard shortcuts

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