message

package
v0.0.0-...-4717ac2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messager

type Messager interface {
	Message() (string, error)
}

func Coalesce

func Coalesce(messages ...Messager) Messager

func Conditional

func Conditional(conditional func() bool, message Messager) Messager

func Join

func Join(delimiter string, templates ...Messager) Messager

func Literal

func Literal(message string) Messager

func Prefix

func Prefix(prefix string, message Messager) Messager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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