search

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package search provides functionalities to search 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 {
	Unicode string
	Label   string
	Tags    []string
	Order   int
	Hexcode string
}

Emoji represents an Emoji with description and tag data

func All

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

All searches for all emojis using the provided params

func ByTags

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
	Order   int
	Hexcode string
}

Params used to specify search parameters

Jump to

Keyboard shortcuts

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