aecho

package
v0.0.0-...-017d899 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package aecho (pronounced "echo") allows for transforming input to Slack's Alphabet emoji form.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(input string, opts Options) string

Transform will transform the input string into an Alphabetized version.

Types

type Options

type Options struct {
	// UseWhite uses the white alphabet variants.
	UseWhite bool

	// Emphasize adds clapping emojis in between words.
	Emphasize bool
}

Options control the output of the transformation.

Jump to

Keyboard shortcuts

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