diff --git a/.gitignore b/.gitignore index daf913b..a5cb407 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ _cgo_gotypes.go _cgo_export.* _testmain.go +cmd/html2text/html2text *.exe *.test diff --git a/cmd/html2text/main.go b/cmd/html2text/main.go index e287c18..3ac3ad8 100644 --- a/cmd/html2text/main.go +++ b/cmd/html2text/main.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "jaytaylor.com/html2text" + "github.com/jaytaylor/html2text" ) func main() { diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..d1e395d --- /dev/null +++ b/go.mod @@ -0,0 +1,11 @@ +module github.com/jaytaylor/html2text + +go 1.18 + +require ( + github.com/olekukonko/tablewriter v0.0.5 + github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf + golang.org/x/net v0.0.0-20220728211354-c7608f3a8462 +) + +require github.com/mattn/go-runewidth v0.0.9 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..7cdd1f8 --- /dev/null +++ b/go.sum @@ -0,0 +1,8 @@ +github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo= +github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf/go.mod h1:RJID2RhlZKId02nZ62WenDCkgHFerpIOmW0iT7GKmXM= +golang.org/x/net v0.0.0-20220728211354-c7608f3a8462 h1:UreQrH7DbFXSi9ZFox6FNT3WBooWmdANpU+IfkT1T4I= +golang.org/x/net v0.0.0-20220728211354-c7608f3a8462/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=