Browse Source
mod: Use blackfriday's standard v2 module import path
master
Matthew Holt
6 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
3 changed files with
3 additions and
5 deletions
-
go.mod
-
modules/caddyhttp/markdown/markdown.go
-
modules/caddyhttp/templates/tplcontext.go
|
|
@ -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 |
|
|
|
|
|
@ -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" |
|
|
|
|
|
@ -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.
|
|
|
|