summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattn/godown
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattn/godown')
-rw-r--r--vendor/github.com/mattn/godown/go.mod8
-rw-r--r--vendor/github.com/mattn/godown/go.sum7
-rw-r--r--vendor/github.com/mattn/godown/godown.go1
3 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/mattn/godown/go.mod b/vendor/github.com/mattn/godown/go.mod
new file mode 100644
index 00000000..d43862ce
--- /dev/null
+++ b/vendor/github.com/mattn/godown/go.mod
@@ -0,0 +1,8 @@
+module github.com/mattn/godown
+
+go 1.14
+
+require (
+ github.com/mattn/go-runewidth v0.0.8
+ golang.org/x/net v0.0.0-20200202094626-16171245cfb2
+)
diff --git a/vendor/github.com/mattn/godown/go.sum b/vendor/github.com/mattn/godown/go.sum
new file mode 100644
index 00000000..ca61715d
--- /dev/null
+++ b/vendor/github.com/mattn/godown/go.sum
@@ -0,0 +1,7 @@
+github.com/mattn/go-runewidth v0.0.8 h1:3tS41NlGYSmhhe/8fhGRzc+z3AYCw1Fe1WAyLuujKs0=
+github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI=
+golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/vendor/github.com/mattn/godown/godown.go b/vendor/github.com/mattn/godown/godown.go
index 10423be9..5f73743f 100644
--- a/vendor/github.com/mattn/godown/godown.go
+++ b/vendor/github.com/mattn/godown/godown.go
@@ -354,6 +354,7 @@ func walk(node *html.Node, w io.Writer, nest int, option *Option) {
}
}
+// Option is optional information for Convert.
type Option struct {
GuessLang func(string) (string, error)
Script bool