mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Use canonical blackfriday v2 import path
https://github.com/russross/blackfriday/issues/587
This commit is contained in:
parent
6c741ae251
commit
e7353e6299
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue