diff --git a/.gitmodules b/.gitmodules index 1f68c4f..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,93 +0,0 @@ -[submodule "vendor/gopkg.in/russross/blackfriday.v2"] - path = vendor/gopkg.in/russross/blackfriday.v2 - url = https://gopkg.in/russross/blackfriday.v2 -[submodule "vendor/github.com/shurcooL/sanitized_anchor_name"] - path = vendor/github.com/shurcooL/sanitized_anchor_name - url = https://github.com/shurcooL/sanitized_anchor_name -[submodule "vendor/github.com/Depado/bfchroma"] - path = vendor/github.com/Depado/bfchroma - url = https://github.com/Depado/bfchroma -[submodule "vendor/github.com/alecthomas/chroma"] - path = vendor/github.com/alecthomas/chroma - url = https://github.com/alecthomas/chroma -[submodule "vendor/github.com/dlclark/regexp2"] - path = vendor/github.com/dlclark/regexp2 - url = https://github.com/dlclark/regexp2 -[submodule "vendor/github.com/danwakefield/fnmatch"] - path = vendor/github.com/danwakefield/fnmatch - url = https://github.com/danwakefield/fnmatch -[submodule "vendor/github.com/op/go-logging"] - path = vendor/github.com/op/go-logging - url = https://github.com/op/go-logging -[submodule "vendor/gopkg.in/yaml.v2"] - path = vendor/gopkg.in/yaml.v2 - url = https://gopkg.in/yaml.v2 -[submodule "vendor/github.com/davecgh/go-spew"] - path = vendor/github.com/davecgh/go-spew - url = https://github.com/davecgh/go-spew -[submodule "vendor/github.com/imdario/mergo"] - path = vendor/github.com/imdario/mergo - url = https://github.com/imdario/mergo -[submodule "vendor/github.com/otiai10/copy"] - path = vendor/github.com/otiai10/copy - url = https://github.com/otiai10/copy -[submodule "vendor/github.com/flosch/pongo2"] - path = vendor/github.com/flosch/pongo2 - url = https://github.com/flosch/pongo2 -[submodule "vendor/github.com/juju/errors"] - path = vendor/github.com/juju/errors - url = https://github.com/juju/errors -[submodule "vendor/github.com/flosch/pongo2-addons"] - path = vendor/github.com/flosch/pongo2-addons - url = https://github.com/flosch/pongo2-addons -[submodule "vendor/github.com/extemporalgenome/slug"] - path = vendor/github.com/extemporalgenome/slug - url = https://github.com/extemporalgenome/slug -[submodule "vendor/golang.org/x/text"] - path = vendor/golang.org/x/text - url = https://go.googlesource.com/text -[submodule "vendor/github.com/flosch/go-humanize"] - path = vendor/github.com/flosch/go-humanize - url = https://github.com/flosch/go-humanize -[submodule "vendor/github.com/russross/blackfriday"] - path = vendor/github.com/russross/blackfriday - url = https://github.com/russross/blackfriday -[submodule "vendor/github.com/robertkrimen/otto"] - path = vendor/github.com/robertkrimen/otto - url = https://github.com/robertkrimen/otto -[submodule "vendor/gopkg.in/sourcemap.v1"] - path = vendor/gopkg.in/sourcemap.v1 - url = https://gopkg.in/sourcemap.v1 -[submodule "vendor/github.com/ddliu/motto"] - path = vendor/github.com/ddliu/motto - url = https://github.com/ddliu/motto -[submodule "vendor/github.com/disintegration/imaging"] - path = vendor/github.com/disintegration/imaging - url = https://github.com/disintegration/imaging -[submodule "vendor/golang.org/x/image"] - path = vendor/golang.org/x/image - url = https://go.googlesource.com/image -[submodule "vendor/github.com/smartystreets/goconvey"] - path = vendor/github.com/smartystreets/goconvey - url = https://github.com/smartystreets/goconvey -[submodule "vendor/github.com/jtolds/gls"] - path = vendor/github.com/jtolds/gls - url = https://github.com/jtolds/gls -[submodule "vendor/github.com/smartystreets/assertions"] - path = vendor/github.com/smartystreets/assertions - url = https://github.com/smartystreets/assertions -[submodule "vendor/github.com/itchio/go-brotli"] - path = vendor/github.com/itchio/go-brotli - url = https://github.com/itchio/go-brotli -[submodule "vendor/github.com/gosuri/uiprogress"] - path = vendor/github.com/gosuri/uiprogress - url = https://github.com/gosuri/uiprogress -[submodule "vendor/github.com/gosuri/uilive"] - path = vendor/github.com/gosuri/uilive - url = https://github.com/gosuri/uilive -[submodule "vendor/github.com/mattn/go-tty"] - path = vendor/github.com/mattn/go-tty - url = https://github.com/mattn/go-tty -[submodule "vendor/golang.org/x/sys"] - path = vendor/golang.org/x/sys - url = https://go.googlesource.com/sys diff --git a/go.mod b/go.mod index 633bc0e..aae6ddb 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,29 @@ module gitbase.de/apairon/mark2web go 1.16 + +require ( + github.com/Depado/bfchroma v1.3.0 + github.com/alecthomas/chroma v0.10.0 // indirect + github.com/davecgh/go-spew v1.1.1 + github.com/ddliu/motto v0.3.1 + github.com/disintegration/imaging v1.6.2 + github.com/extemporalgenome/slug v0.0.0-20150414033109-0320c85e32e0 + github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3 + github.com/flosch/pongo2-addons v0.0.0-20210526150811-f969446c5b72 + github.com/gosuri/uilive v0.0.4 // indirect + github.com/gosuri/uiprogress v0.0.1 + github.com/imdario/mergo v0.3.12 + github.com/itchio/go-brotli v0.0.0-20190702114328-3f28d645a45c + github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-tty v0.0.4 + github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 + github.com/otiai10/copy v1.7.0 + github.com/robertkrimen/otto v0.0.0-20211024170158-b87d35c0b86f + github.com/russross/blackfriday/v2 v2.1.0 + github.com/smartystreets/goconvey v1.7.2 + golang.org/x/image v0.0.0-20211028202545-6944b10bf410 // indirect + golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect + golang.org/x/text v0.3.7 // indirect + gopkg.in/yaml.v2 v2.4.0 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..6c25a85 --- /dev/null +++ b/go.sum @@ -0,0 +1,137 @@ +github.com/Depado/bfchroma v1.3.0 h1:zz14vpvySU6S0CL6yGPr1vkFevQecIt8dJdCsMS2JpM= +github.com/Depado/bfchroma v1.3.0/go.mod h1:c0bFk0tFmT+clD3TIGurjWCfD/QV8/EebfM3JGr+98M= +github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38 h1:smF2tmSOzy2Mm+0dGI2AIUHY+w0BUc+4tn40djz7+6U= +github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38/go.mod h1:r7bzyVFMNntcxPZXK3/+KdruV1H5KSlyVY0gc+NgInI= +github.com/alecthomas/chroma v0.7.3 h1:NfdAERMy+esYQs8OXk0I868/qDxxCEo7FMz1WIqMAeI= +github.com/alecthomas/chroma v0.7.3/go.mod h1:sko8vR34/90zvl5QdcUdvzL3J8NKjAUx9va9jPuFNoM= +github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek= +github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= +github.com/alecthomas/colour v0.0.0-20160524082231-60882d9e2721 h1:JHZL0hZKJ1VENNfmXvHbgYlbUOvpzYzvy2aZU5gXVeo= +github.com/alecthomas/colour v0.0.0-20160524082231-60882d9e2721/go.mod h1:QO9JBoKquHd+jz9nshCh40fOfO+JzsoXy8qTHF68zU0= +github.com/alecthomas/kong v0.2.4/go.mod h1:kQOmtJgV+Lb4aj+I2LEn40cbtawdWJ9Y8QLq+lElKxE= +github.com/alecthomas/repr v0.0.0-20180818092828-117648cd9897/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ= +github.com/alecthomas/repr v0.0.0-20200325044227-4184120f674c h1:MVVbswUlqicyj8P/JljoocA7AyCo62gzD0O7jfvrhtE= +github.com/alecthomas/repr v0.0.0-20200325044227-4184120f674c/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 h1:y5HC9v93H5EPKqaS1UYVg1uYah5Xf51mBfIoWehClUQ= +github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964/go.mod h1:Xd9hchkHSWYkEqJwUGisez3G1QY8Ryz0sdWrLPMGjLk= +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/ddliu/motto v0.3.1 h1:k2uMOMy/LGA1okqJhtuq0ajHhYEIr798qlBULt+1kWs= +github.com/ddliu/motto v0.3.1/go.mod h1:jhu/Dn9mRcDsZNeb2rCLApdM8OoTFV77Ti2DVQx1ltE= +github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1ei82L+c= +github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4= +github.com/dlclark/regexp2 v1.2.0 h1:8sAhBGEM0dRWogWqWyQeIJnxjWO6oIjl8FKqREDsGfk= +github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/dlclark/regexp2 v1.4.0 h1:F1rxgk7p4uKjwIQxBs9oAXe5CqrXlCduYEJvrF4u93E= +github.com/dlclark/regexp2 v1.4.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/extemporalgenome/slug v0.0.0-20150414033109-0320c85e32e0 h1:0A9+8DBvlpto0mr+SD1NadV5liSIAZkWnvyshwk88Bc= +github.com/extemporalgenome/slug v0.0.0-20150414033109-0320c85e32e0/go.mod h1:96eSBMO0aE2dcsEygXzIsvGyOf7bM5kWuqVCPEgwLEI= +github.com/flosch/go-humanize v0.0.0-20140728123800-3ba51eabe506 h1:tN043XK9BV76qc31Z2GACIO5Dsh99q21JtYmR2ltXBg= +github.com/flosch/go-humanize v0.0.0-20140728123800-3ba51eabe506/go.mod h1:pSiPkAThBLWmIzJ2fukUGkcxxWR4HoLT7Bp8/krrl5g= +github.com/flosch/pongo2 v0.0.0-20200529170236-5abacdfa4915/go.mod h1:fB4mx6dzqFinCxIf3a7Mf5yLk+18Bia9mPAnuejcvDA= +github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3 h1:fmFk0Wt3bBxxwZnu48jqMdaOR/IZ4vdtJFuaFV8MpIE= +github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3/go.mod h1:bJWSKrZyQvfTnb2OudyUjurSG4/edverV7n82+K3JiM= +github.com/flosch/pongo2-addons v0.0.0-20210526150811-f969446c5b72 h1:/P0QfDoOIxqUYm8SPcn1XOVczfMbMbo2irMEF3F/sB0= +github.com/flosch/pongo2-addons v0.0.0-20210526150811-f969446c5b72/go.mod h1:FRpCGvVuFk51gQzekI5CiH/J6Ir1U47H8nF23gsFDKU= +github.com/flosch/pongo2/v4 v4.0.2 h1:gv+5Pe3vaSVmiJvh/BZa82b7/00YUGm0PIyVVLop0Hw= +github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8= +github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gosuri/uilive v0.0.4 h1:hUEBpQDj8D8jXgtCdBu7sWsy5sbW/5GhuO8KBwJ2jyY= +github.com/gosuri/uilive v0.0.4/go.mod h1:V/epo5LjjlDE5RJUcqx8dbw+zc93y5Ya3yg8tfZ74VI= +github.com/gosuri/uiprogress v0.0.1 h1:0kpv/XY/qTmFWl/SkaJykZXrBBzwwadmW8fRb7RJSxw= +github.com/gosuri/uiprogress v0.0.1/go.mod h1:C1RTYn4Sc7iEyf6j8ft5dyoZ4212h8G1ol9QQluh5+0= +github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= +github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/itchio/go-brotli v0.0.0-20190702114328-3f28d645a45c h1:Jf20xV/yR/O6eSUqLTuXhka/+54YR59sGwN7b3MkxYk= +github.com/itchio/go-brotli v0.0.0-20190702114328-3f28d645a45c/go.mod h1:oRXh43p/JW9kWosasd+2kHfDpb1ec4m7YrZ5E39s1iI= +github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-tty v0.0.4 h1:NVikla9X8MN0SQAqCYzpGyXv0jY7MNl3HOWD2dkle7E= +github.com/mattn/go-tty v0.0.4/go.mod h1:u5GGXBtZU6RQoKV8gY5W6UhMudbR5vXnUe7j3pxse28= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/otiai10/copy v1.7.0 h1:hVoPiN+t+7d2nzzwMiDHPSOogsWAStewq3TwU05+clE= +github.com/otiai10/copy v1.7.0/go.mod h1:rmRl6QPdJj6EiUqXQ/4Nn2lLXoNQjFCQbbNrxgc/t3U= +github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= +github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= +github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= +github.com/otiai10/mint v1.3.3 h1:7JgpsBaN0uMkyju4tbYHu0mnM55hNKVYLsXmwr15NQI= +github.com/otiai10/mint v1.3.3/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/robertkrimen/otto v0.0.0-20211024170158-b87d35c0b86f h1:a7clxaGmmqtdNTXyvrp/lVO/Gnkzlhc/+dLs5v965GM= +github.com/robertkrimen/otto v0.0.0-20211024170158-b87d35c0b86f/go.mod h1:/mK7FZ3mFYEn9zvNPhpngTyatyehSwte5bJZ4ehL5Xw= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs= +github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= +github.com/smartystreets/goconvey v1.7.2 h1:9RBaZCeXEQ3UselpuwUQHltGVXvdwm6cv1hgR6gDIPg= +github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3Pg9vgXWeJpQFMM= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U= +golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20211028202545-6944b10bf410 h1:hTftEOvwiOq2+O8k2D5/Q7COC7k5Qcrgc2TFURJYnvQ= +golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 h1:opSr2sbRXk5X5/givKrrKj9HXxFpW2sdCiP8MJSKLQY= +golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 h1:nhht2DYV/Sn3qOayu8lM+cU1ii9sTLUeBQwQQfUHtrs= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLFVxaq6wH4YuVdsUOr75U= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/readline.v1 v1.0.0-20160726135117-62c6fe619375/go.mod h1:lNEQeAhU009zbRxng+XOj5ITVgY24WcbNnQopyfKoYQ= +gopkg.in/sourcemap.v1 v1.0.5 h1:inv58fC9f9J3TK2Y2R1NPntXEn3/wjWHkonhIUODNTI= +gopkg.in/sourcemap.v1 v1.0.5/go.mod h1:2RlvNNSMglmRrcvhfuzp4hQHwOtjxlbjX7UPY/GXb78= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/pkg/helper/markdown.go b/pkg/helper/markdown.go index 49e4766..292ee61 100644 --- a/pkg/helper/markdown.go +++ b/pkg/helper/markdown.go @@ -4,7 +4,7 @@ import ( "bytes" "github.com/Depado/bfchroma" - "gopkg.in/russross/blackfriday.v2" + "github.com/russross/blackfriday/v2" ) // RenderMarkdown renders input to html with chroma syntax highlighting if wanted diff --git a/pkg/helper/string.go b/pkg/helper/string.go index 17547cc..f84fe00 100644 --- a/pkg/helper/string.go +++ b/pkg/helper/string.go @@ -10,7 +10,7 @@ func ShortenStringLeft(str string, num int) string { if num > 3 { num -= 3 } - tstr = "..." + str[len(str)-num:len(str)] + tstr = "..." + str[len(str)-num:] } return tstr } diff --git a/vendor/github.com/Depado/bfchroma b/vendor/github.com/Depado/bfchroma deleted file mode 160000 index ab17b51..0000000 --- a/vendor/github.com/Depado/bfchroma +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ab17b511206de6d3592668ad718840a1e8f8283a diff --git a/vendor/github.com/alecthomas/chroma b/vendor/github.com/alecthomas/chroma deleted file mode 160000 index b5ccb8d..0000000 --- a/vendor/github.com/alecthomas/chroma +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b5ccb8dc322b914484924caf4463d601a64382f7 diff --git a/vendor/github.com/danwakefield/fnmatch b/vendor/github.com/danwakefield/fnmatch deleted file mode 160000 index cbb64ac..0000000 --- a/vendor/github.com/danwakefield/fnmatch +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cbb64ac3d964b81592e64f957ad53df015803288 diff --git a/vendor/github.com/davecgh/go-spew b/vendor/github.com/davecgh/go-spew deleted file mode 160000 index d8f796a..0000000 --- a/vendor/github.com/davecgh/go-spew +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d8f796af33cc11cb798c1aaeb27a4ebc5099927d diff --git a/vendor/github.com/ddliu/motto b/vendor/github.com/ddliu/motto deleted file mode 160000 index b73cfd2..0000000 --- a/vendor/github.com/ddliu/motto +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b73cfd26c91b45e1c1dcb9ff70634b5240e442c3 diff --git a/vendor/github.com/disintegration/imaging b/vendor/github.com/disintegration/imaging deleted file mode 160000 index 5362c13..0000000 --- a/vendor/github.com/disintegration/imaging +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5362c131d56305ce787e79a5b94ffc956df00d62 diff --git a/vendor/github.com/dlclark/regexp2 b/vendor/github.com/dlclark/regexp2 deleted file mode 160000 index 7632a26..0000000 --- a/vendor/github.com/dlclark/regexp2 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7632a260cbaf5e7594fc1544a503456ecd0827f1 diff --git a/vendor/github.com/extemporalgenome/slug b/vendor/github.com/extemporalgenome/slug deleted file mode 160000 index 0320c85..0000000 --- a/vendor/github.com/extemporalgenome/slug +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0320c85e32e0015b090f08a5d1324d5ab6094f07 diff --git a/vendor/github.com/flosch/go-humanize b/vendor/github.com/flosch/go-humanize deleted file mode 160000 index 3ba51ea..0000000 --- a/vendor/github.com/flosch/go-humanize +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3ba51eabe50663842d569003bab93fc256883173 diff --git a/vendor/github.com/flosch/pongo2 b/vendor/github.com/flosch/pongo2 deleted file mode 160000 index 79872a7..0000000 --- a/vendor/github.com/flosch/pongo2 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 79872a7b27692599b259dc751bed8b03581dd0de diff --git a/vendor/github.com/flosch/pongo2-addons b/vendor/github.com/flosch/pongo2-addons deleted file mode 160000 index 86b9b7b..0000000 --- a/vendor/github.com/flosch/pongo2-addons +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 86b9b7b8051253fbb41b3fff8a8f5cc9c300305e diff --git a/vendor/github.com/gosuri/uilive b/vendor/github.com/gosuri/uilive deleted file mode 160000 index ac356e6..0000000 --- a/vendor/github.com/gosuri/uilive +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ac356e6e42cd31fcef8e6aec13ae9ed6fe87713e diff --git a/vendor/github.com/gosuri/uiprogress b/vendor/github.com/gosuri/uiprogress deleted file mode 160000 index d0567a9..0000000 --- a/vendor/github.com/gosuri/uiprogress +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d0567a9d84a1c40dd7568115ea66f4887bf57b33 diff --git a/vendor/github.com/imdario/mergo b/vendor/github.com/imdario/mergo deleted file mode 160000 index 7c29201..0000000 --- a/vendor/github.com/imdario/mergo +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7c29201646fa3de8506f701213473dd407f19646 diff --git a/vendor/github.com/itchio/go-brotli b/vendor/github.com/itchio/go-brotli deleted file mode 160000 index 29899a4..0000000 --- a/vendor/github.com/itchio/go-brotli +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 29899a447037af0c68028d70df58ac2faebf280c diff --git a/vendor/github.com/jtolds/gls b/vendor/github.com/jtolds/gls deleted file mode 160000 index b4936e0..0000000 --- a/vendor/github.com/jtolds/gls +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b4936e06046bbecbb94cae9c18127ebe510a2cb9 diff --git a/vendor/github.com/juju/errors b/vendor/github.com/juju/errors deleted file mode 160000 index e65537c..0000000 --- a/vendor/github.com/juju/errors +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e65537c515d77e35697c471d6c2755375cb3adc4 diff --git a/vendor/github.com/mattn/go-tty b/vendor/github.com/mattn/go-tty deleted file mode 160000 index 5518497..0000000 --- a/vendor/github.com/mattn/go-tty +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5518497423d1a71429a4bea2a4536ef5939c3c27 diff --git a/vendor/github.com/op/go-logging b/vendor/github.com/op/go-logging deleted file mode 160000 index 970db52..0000000 --- a/vendor/github.com/op/go-logging +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 970db520ece77730c7e4724c61121037378659d9 diff --git a/vendor/github.com/otiai10/copy b/vendor/github.com/otiai10/copy deleted file mode 160000 index 7e9a647..0000000 --- a/vendor/github.com/otiai10/copy +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7e9a647135a142c2669943d4a4d29be015ce9392 diff --git a/vendor/github.com/robertkrimen/otto b/vendor/github.com/robertkrimen/otto deleted file mode 160000 index 15f95af..0000000 --- a/vendor/github.com/robertkrimen/otto +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 15f95af6e78dcd2030d8195a138bd88d4f403546 diff --git a/vendor/github.com/russross/blackfriday b/vendor/github.com/russross/blackfriday deleted file mode 160000 index a477dd1..0000000 --- a/vendor/github.com/russross/blackfriday +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a477dd1646916742841ed20379f941cfa6c5bb6f diff --git a/vendor/github.com/shurcooL/sanitized_anchor_name b/vendor/github.com/shurcooL/sanitized_anchor_name deleted file mode 160000 index 7bfe4c7..0000000 --- a/vendor/github.com/shurcooL/sanitized_anchor_name +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7bfe4c7ecddb3666a94b053b422cdd8f5aaa3615 diff --git a/vendor/github.com/smartystreets/assertions b/vendor/github.com/smartystreets/assertions deleted file mode 160000 index 980c5ac..0000000 --- a/vendor/github.com/smartystreets/assertions +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 980c5ac6f3acb6ce1cfe13160e49188807174fbe diff --git a/vendor/github.com/smartystreets/goconvey b/vendor/github.com/smartystreets/goconvey deleted file mode 160000 index 200a235..0000000 --- a/vendor/github.com/smartystreets/goconvey +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 200a235640ff2643e3126834b67f3e93df76640a diff --git a/vendor/golang.org/x/image b/vendor/golang.org/x/image deleted file mode 160000 index 0694c2d..0000000 --- a/vendor/golang.org/x/image +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0694c2d4d067f97ebef574d63a763ee8ab559da7 diff --git a/vendor/golang.org/x/sys b/vendor/golang.org/x/sys deleted file mode 160000 index f49334f..0000000 --- a/vendor/golang.org/x/sys +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f49334f85ddcf0f08d7fb6dd7363e9e6d6b777eb diff --git a/vendor/golang.org/x/text b/vendor/golang.org/x/text deleted file mode 160000 index d14c52b..0000000 --- a/vendor/golang.org/x/text +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d14c52b222ee852cdba8b07206ca0c614b389876 diff --git a/vendor/gopkg.in/russross/blackfriday.v2 b/vendor/gopkg.in/russross/blackfriday.v2 deleted file mode 160000 index d3b5b03..0000000 --- a/vendor/gopkg.in/russross/blackfriday.v2 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d3b5b032dc8e8927d31a5071b56e14c89f045135 diff --git a/vendor/gopkg.in/sourcemap.v1 b/vendor/gopkg.in/sourcemap.v1 deleted file mode 160000 index 6e83ace..0000000 --- a/vendor/gopkg.in/sourcemap.v1 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6e83acea0053641eff084973fee085f0c193c61a diff --git a/vendor/gopkg.in/yaml.v2 b/vendor/gopkg.in/yaml.v2 deleted file mode 160000 index 51d6538..0000000 --- a/vendor/gopkg.in/yaml.v2 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 51d6538a90f86fe93ac480b35f37b2be17fef232