Update Readme code and example to reflect this new file: .idea/.gitignore new file: .idea/emojipasta.iml new file: .idea/modules.xml new file: .idea/vcs.xml modified: README.md modified: example/main.go modified: go.mod new file: go.sum
15 lines
259 B
Go
15 lines
259 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"strings"
|
|
|
|
"github.com/Neo-Desktop/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)
|
|
}
|