From e7353e629948cadfafa37045197f6947e085f42f Mon Sep 17 00:00:00 2001 From: Andy Hochhaus Date: Sun, 10 Jan 2021 14:42:39 -0600 Subject: [PATCH] Use canonical blackfriday v2 import path https://github.com/russross/blackfriday/issues/587 --- _benchmark/go/benchmark_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_benchmark/go/benchmark_test.go b/_benchmark/go/benchmark_test.go index a347ec1..0addfa4 100644 --- a/_benchmark/go/benchmark_test.go +++ b/_benchmark/go/benchmark_test.go @@ -11,7 +11,7 @@ import ( "github.com/yuin/goldmark/util" "gitlab.com/golang-commonmark/markdown" - bf2 "gopkg.in/russross/blackfriday.v2" + "github.com/russross/blackfriday/v2" "github.com/88250/lute" ) @@ -19,7 +19,7 @@ import ( func BenchmarkMarkdown(b *testing.B) { b.Run("Blackfriday-v2", func(b *testing.B) { r := func(src []byte) ([]byte, error) { - out := bf2.Run(src) + out := blackfriday.Run(src) return out, nil } doBenchmark(b, r)