search

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package search provides functions to search for and retrieve emojis

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emoji

type Emoji struct {
	Emoji    string
	Label    string
	Tags     []string
	Emoticon string
}

Emoji represents an Emoji with description and tag data

func ByDescription

func ByDescription(params Params) (result []Emoji)

ByDescription searches emojis using the params

func ByTags added in v1.0.0

func ByTags(tags ...string) (result []Emoji)

ByTags search for emojis with specified tags

type Params

type Params struct {
	Include []string // Include slice of strings to include in search
	Exclude []string // Exclude slice of strings to exclude in search
}

Params used to specify search parameters

Jump to

Keyboard shortcuts

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