diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-15 17:33:08 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-15 17:33:08 -0600 |
commit | f2171812931114dc48a9d27122a8479af8b2c8f3 (patch) | |
tree | 791c6fe14433dadfc7afc3f50866782809dd44a0 | |
parent | ccb5d19c258a1f4ec87ec7cdc4aedf1f1c7007dc (diff) |
mod: Use blackfriday's standard v2 module import path
-rw-r--r-- | go.mod | 4 | ||||
-rw-r--r-- | modules/caddyhttp/markdown/markdown.go | 2 | ||||
-rw-r--r-- | modules/caddyhttp/templates/tplcontext.go | 2 |
3 files changed, 3 insertions, 5 deletions
@@ -19,13 +19,11 @@ require ( github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2 github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936 github.com/rs/cors v1.6.0 + github.com/russross/blackfriday/v2 v2.0.1 github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect github.com/starlight-go/starlight v0.0.0-20181207205707-b06f321544f3 go.starlark.net v0.0.0-20190604130855-6ddc71c0ba77 golang.org/x/net v0.0.0-20190603091049-60506f45cf65 golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 - gopkg.in/russross/blackfriday.v2 v2.0.1 gopkg.in/yaml.v2 v2.2.2 // indirect ) - -replace gopkg.in/russross/blackfriday.v2 v2.0.1 => github.com/russross/blackfriday/v2 v2.0.1 diff --git a/modules/caddyhttp/markdown/markdown.go b/modules/caddyhttp/markdown/markdown.go index b9a2a91..3ba4d02 100644 --- a/modules/caddyhttp/markdown/markdown.go +++ b/modules/caddyhttp/markdown/markdown.go @@ -21,7 +21,7 @@ import ( "strings" "sync" - "gopkg.in/russross/blackfriday.v2" + "github.com/russross/blackfriday/v2" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/modules/caddyhttp" diff --git a/modules/caddyhttp/templates/tplcontext.go b/modules/caddyhttp/templates/tplcontext.go index 548b3e1..ffcc636 100644 --- a/modules/caddyhttp/templates/tplcontext.go +++ b/modules/caddyhttp/templates/tplcontext.go @@ -27,7 +27,7 @@ import ( "github.com/Masterminds/sprig" "github.com/caddyserver/caddy/v2/modules/caddyhttp" - "gopkg.in/russross/blackfriday.v2" + "github.com/russross/blackfriday/v2" ) // templateContext is the templateContext with which HTTP templates are executed. |