From 535ed84b17d9df1c1c161756a8fe9c5102d47c24 Mon Sep 17 00:00:00 2001 From: Mathieu Cornic Date: Wed, 13 Dec 2017 20:28:34 +0100 Subject: [PATCH] Feat/dep update (#30) * feat: explicite use of blackfriday v2 for compatibilty purpose --- Gopkg.lock | 16 ++++++++-------- Gopkg.toml | 8 ++++---- hermes.go | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 85c0094..d9cb890 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -41,7 +41,7 @@ branch = "master" name = "github.com/jaytaylor/html2text" packages = ["."] - revision = "0ee88d3006305456b84cad14a24b2576f9411965" + revision = "63248bc9adbcc063665823c90e39eaf58aca7a8b" [[projects]] name = "github.com/mattn/go-runewidth" @@ -61,12 +61,6 @@ revision = "792786c7400a136282c1664665ae0a8db921c6c2" version = "v1.0.0" -[[projects]] - name = "github.com/russross/blackfriday" - packages = ["."] - revision = "cadec560ec52d93835bf2f15bd794700d3a2473b" - version = "v2.0.0" - [[projects]] name = "github.com/satori/go.uuid" packages = ["."] @@ -103,9 +97,15 @@ packages = ["html","html/atom"] revision = "d866cfc389cec985d6fda2859936a575a55a3ab6" +[[projects]] + name = "gopkg.in/russross/blackfriday.v2" + packages = ["."] + revision = "cadec560ec52d93835bf2f15bd794700d3a2473b" + version = "v2.0.0" + [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "936b042897ce8e2126fd38e5f3b757eb564a83800341f0ad7ef55b27181e8770" + inputs-digest = "74f494e631dfdf63c96d26579f7f802e52dfe70480f1b3cfc03ef331eb223dea" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index a400495..a7ccc7b 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -33,10 +33,10 @@ branch = "master" name = "github.com/jaytaylor/html2text" -[[constraint]] - name = "github.com/russross/blackfriday" - version = "2.0.0" - [[constraint]] name = "github.com/stretchr/testify" version = "1.1.4" + +[[constraint]] + name = "gopkg.in/russross/blackfriday.v2" + version = "2.0.0" diff --git a/hermes.go b/hermes.go index 0834738..f01fc45 100644 --- a/hermes.go +++ b/hermes.go @@ -5,7 +5,7 @@ import ( "github.com/Masterminds/sprig" "github.com/imdario/mergo" "github.com/jaytaylor/html2text" - "github.com/russross/blackfriday" + "gopkg.in/russross/blackfriday.v2" "html/template" )