Update emoji import paths and version

Since emoji is v2, we must import it with the `/v2` suffix.  Doing so
allows the Go tools to detect the latest release.
This commit is contained in:
Cameron Moore
2020-12-30 14:19:40 -06:00
committed by Bjørn Erik Pedersen
parent cea1574023
commit 1f7e9f7333
4 changed files with 5 additions and 86 deletions

View File

@@ -19,7 +19,7 @@ import (
"testing"
"github.com/gohugoio/hugo/bufferpool"
"github.com/kyokomi/emoji"
"github.com/kyokomi/emoji/v2"
)
func TestEmojiCustom(t *testing.T) {