meals-go emoji? yes Tests

Find what you can cook with your emojis

get started

install the package:

go get github.com/EmojiMeals/meals-go

then start using it:

import "github.com/EmojiMeals/meals-go"

cookbook := meals.NewCookbook("path-to-recipes.json")

cookbook.Mealify("🍞","🍅","🧀")

Usage

You can start checking for recipes using cookbook.Mealify().

meals.Mealify("🌚","🍰") #=> "🥮"

# it is not order dependent 💯💯IQ 🧠💥
meals.Mealify("🍰", "🌚") #=> "🥮"

# Use more than two items!
meals.Mealify("🍞","🍅","🧀") #=> "🍕"

# After all this eating, I need a drink
meals.Mealify("🍶","🍾","🍷","🍸","🍶","🍹","🍺","🍻","🥂","🍾","🥃") #=> "🤮"

Is it thread safe

Yes!

Can I donate to the project?

Yes, here

License

This project is licensed under the MIT License.