From 25ca76a7e07b0efbaef0fc03720a5279d027c85e Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Mon, 6 Jul 2020 21:28:21 +0200 Subject: [PATCH] Use stable import path for html2text See https://github.com/jaytaylor/html2text/commit/57d518f124b0cf46ea2021f25a01396b3522e6fb --- getArticles.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- .../jaytaylor => jaytaylor.com}/html2text/.gitignore | 0 .../jaytaylor => jaytaylor.com}/html2text/.travis.yml | 0 .../{github.com/jaytaylor => jaytaylor.com}/html2text/LICENSE | 0 .../jaytaylor => jaytaylor.com}/html2text/README.md | 0 .../jaytaylor => jaytaylor.com}/html2text/html2text.go | 0 vendor/modules.txt | 4 +++- 9 files changed, 7 insertions(+), 5 deletions(-) rename vendor/{github.com/jaytaylor => jaytaylor.com}/html2text/.gitignore (100%) rename vendor/{github.com/jaytaylor => jaytaylor.com}/html2text/.travis.yml (100%) rename vendor/{github.com/jaytaylor => jaytaylor.com}/html2text/LICENSE (100%) rename vendor/{github.com/jaytaylor => jaytaylor.com}/html2text/README.md (100%) rename vendor/{github.com/jaytaylor => jaytaylor.com}/html2text/html2text.go (100%) diff --git a/getArticles.go b/getArticles.go index 09b1b1c..0adba99 100644 --- a/getArticles.go +++ b/getArticles.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "github.com/jaytaylor/html2text" "github.com/mmcdole/gofeed" + "jaytaylor.com/html2text" ) // Get new articles for specified feed. diff --git a/go.mod b/go.mod index b61a82c..4762430 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/PuerkitoBio/goquery v1.5.1 // indirect github.com/andybalholm/cascadia v1.2.0 // indirect github.com/chilts/sid v0.0.0-20190607042430-660e94789ec9 - github.com/jaytaylor/html2text v0.0.0-20200412013138-3577fbdbcff7 github.com/mattn/go-runewidth v0.0.9 // indirect github.com/mattn/go-xmpp v0.0.0-20200309091041-899ef71e80d2 github.com/mmcdole/gofeed v1.0.0 @@ -15,4 +14,5 @@ require ( github.com/stretchr/testify v1.5.1 // indirect golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect golang.org/x/text v0.3.3 // indirect + jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7 ) diff --git a/go.sum b/go.sum index 84fb16e..4f3d295 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,6 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/jaytaylor/html2text v0.0.0-20200412013138-3577fbdbcff7 h1:g0fAGBisHaEQ0TRq1iBvemFRf+8AEWEmBESSiWB3Vsc= -github.com/jaytaylor/html2text v0.0.0-20200412013138-3577fbdbcff7/go.mod h1:CVKlgaMiht+LXvHG173ujK6JUhZXKb2u/BQtjPDIvyk= github.com/mattn/go-runewidth v0.0.7 h1:Ei8KR0497xHyKJPAv59M1dkC+rOZCMBJ+t3fZ+twI54= github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= @@ -55,3 +53,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7 h1:mub0MmFLOn8XLikZOAhgLD1kXJq8jgftSrrv7m00xFo= +jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7/go.mod h1:OxvTsCwKosqQ1q7B+8FwXqg4rKZ/UG9dUW+g/VL2xH4= diff --git a/vendor/github.com/jaytaylor/html2text/.gitignore b/vendor/jaytaylor.com/html2text/.gitignore similarity index 100% rename from vendor/github.com/jaytaylor/html2text/.gitignore rename to vendor/jaytaylor.com/html2text/.gitignore diff --git a/vendor/github.com/jaytaylor/html2text/.travis.yml b/vendor/jaytaylor.com/html2text/.travis.yml similarity index 100% rename from vendor/github.com/jaytaylor/html2text/.travis.yml rename to vendor/jaytaylor.com/html2text/.travis.yml diff --git a/vendor/github.com/jaytaylor/html2text/LICENSE b/vendor/jaytaylor.com/html2text/LICENSE similarity index 100% rename from vendor/github.com/jaytaylor/html2text/LICENSE rename to vendor/jaytaylor.com/html2text/LICENSE diff --git a/vendor/github.com/jaytaylor/html2text/README.md b/vendor/jaytaylor.com/html2text/README.md similarity index 100% rename from vendor/github.com/jaytaylor/html2text/README.md rename to vendor/jaytaylor.com/html2text/README.md diff --git a/vendor/github.com/jaytaylor/html2text/html2text.go b/vendor/jaytaylor.com/html2text/html2text.go similarity index 100% rename from vendor/github.com/jaytaylor/html2text/html2text.go rename to vendor/jaytaylor.com/html2text/html2text.go diff --git a/vendor/modules.txt b/vendor/modules.txt index 6a66a6d..a8c6a31 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -9,7 +9,6 @@ github.com/andybalholm/cascadia github.com/chilts/sid # github.com/jaytaylor/html2text v0.0.0-20200412013138-3577fbdbcff7 ## explicit -github.com/jaytaylor/html2text # github.com/mattn/go-runewidth v0.0.9 ## explicit github.com/mattn/go-runewidth @@ -57,3 +56,6 @@ golang.org/x/text/internal/utf8internal golang.org/x/text/language golang.org/x/text/runes golang.org/x/text/transform +# jaytaylor.com/html2text v0.0.0-20200412013138-3577fbdbcff7 +## explicit +jaytaylor.com/html2text