Update repository to be an importable module
Use edb.prebuilt.json from emojibot2 Provide example usage Update readme to reflect chanegs Simplify code/directory structure new file: .gitignore modified: Emojipasta.go modified: README.md deleted: assets/emojis.json new file: edb.prebuilt.json new file: example/main.go deleted: generator/generator.go
This commit is contained in:
7 files changed
+279
-99262
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/xerosic/emojipasta"
|
||||
)
|
||||
|
||||
func main() {
|
||||
input := "This library allows you to create emojipastas like this one"
|
||||
output := emojipasta.Generate(strings.Split(input, " "), 3, false)
|
||||
fmt.Println(output)
|
||||
}
|
||||
Reference in new issue
Block a user