emotion

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(v Emotion) error

Validate returns an error if the value is invalid

Types

type Emotion

type Emotion string

Emotion represents an emotion type

const (
	// Happy represents happiness
	Happy Emotion = "happy"

	// Angry represents anger
	Angry Emotion = "angry"

	// Excited represents excitement
	Excited Emotion = "excited"

	// Fearful represents anxiety
	Fearful Emotion = "fearful"

	// Thoughtful represents thoughtfulness
	Thoughtful Emotion = "thoughtful"
)

Jump to

Keyboard shortcuts

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