From 6c0ea900e97996549f1207924a1a0b2fe29a645f Mon Sep 17 00:00:00 2001 From: Christian Dreier Date: Mon, 20 May 2024 11:34:41 +0200 Subject: [PATCH] chore: move to go:embed, housekeeping --- .drone.yml | 34 - .github/workflows/go.yml | 26 + go.mod | 12 +- go.sum | 17 - main.go | 34 +- parser.go | 35 +- presenter.go | 11 +- renderer.go | 10 +- .../github.com/alecthomas/chroma/.gitignore | 19 - .../alecthomas/chroma/.golangci.yml | 55 - .../alecthomas/chroma/.goreleaser.yml | 31 - .../github.com/alecthomas/chroma/.travis.yml | 12 - vendor/github.com/alecthomas/chroma/COPYING | 19 - vendor/github.com/alecthomas/chroma/Makefile | 19 - vendor/github.com/alecthomas/chroma/README.md | 267 - .../github.com/alecthomas/chroma/coalesce.go | 35 - vendor/github.com/alecthomas/chroma/colour.go | 164 - .../github.com/alecthomas/chroma/delegate.go | 137 - vendor/github.com/alecthomas/chroma/doc.go | 7 - .../github.com/alecthomas/chroma/formatter.go | 43 - .../alecthomas/chroma/formatters/html/html.go | 435 - vendor/github.com/alecthomas/chroma/go.mod | 19 - vendor/github.com/alecthomas/chroma/go.sum | 33 - .../github.com/alecthomas/chroma/iterator.go | 76 - vendor/github.com/alecthomas/chroma/lexer.go | 120 - .../alecthomas/chroma/lexers/README.md | 37 - .../alecthomas/chroma/lexers/a/abap.go | 56 - .../alecthomas/chroma/lexers/a/abnf.go | 38 - .../chroma/lexers/a/actionscript.go | 39 - .../chroma/lexers/a/actionscript3.go | 56 - .../alecthomas/chroma/lexers/a/ada.go | 114 - .../alecthomas/chroma/lexers/a/angular2.go | 42 - .../alecthomas/chroma/lexers/a/antlr.go | 101 - .../alecthomas/chroma/lexers/a/apache.go | 38 - .../alecthomas/chroma/lexers/a/apl.go | 36 - .../alecthomas/chroma/lexers/a/applescript.go | 55 - .../alecthomas/chroma/lexers/a/arduino.go | 110 - .../alecthomas/chroma/lexers/a/awk.go | 48 - .../alecthomas/chroma/lexers/b/ballerina.go | 46 - .../alecthomas/chroma/lexers/b/bash.go | 95 - .../alecthomas/chroma/lexers/b/batch.go | 194 - .../alecthomas/chroma/lexers/b/bibtex.go | 76 - .../alecthomas/chroma/lexers/b/blitz.go | 48 - .../alecthomas/chroma/lexers/b/bnf.go | 24 - .../alecthomas/chroma/lexers/b/brainfuck.go | 34 - .../alecthomas/chroma/lexers/c/c.go | 91 - .../alecthomas/chroma/lexers/c/capnproto.go | 61 - .../alecthomas/chroma/lexers/c/ceylon.go | 63 - .../alecthomas/chroma/lexers/c/cfengine3.go | 56 - .../alecthomas/chroma/lexers/c/chaiscript.go | 63 - .../alecthomas/chroma/lexers/c/cheetah.go | 37 - .../alecthomas/chroma/lexers/c/cl.go | 306 - .../alecthomas/chroma/lexers/c/clojure.go | 38 - .../alecthomas/chroma/lexers/c/cmake.go | 44 - .../alecthomas/chroma/lexers/c/cobol.go | 51 - .../alecthomas/chroma/lexers/c/coffee.go | 91 - .../alecthomas/chroma/lexers/c/coldfusion.go | 48 - .../alecthomas/chroma/lexers/c/coq.go | 63 - .../alecthomas/chroma/lexers/c/cpp.go | 106 - .../alecthomas/chroma/lexers/c/cql.go | 69 - .../alecthomas/chroma/lexers/c/crystal.go | 262 - .../alecthomas/chroma/lexers/c/csharp.go | 51 - .../alecthomas/chroma/lexers/c/css.go | 104 - .../alecthomas/chroma/lexers/c/cython.go | 135 - .../alecthomas/chroma/lexers/circular/doc.go | 2 - .../alecthomas/chroma/lexers/circular/php.go | 91 - .../alecthomas/chroma/lexers/d/d.go | 69 - .../alecthomas/chroma/lexers/d/dart.go | 91 - .../alecthomas/chroma/lexers/d/diff.go | 29 - .../alecthomas/chroma/lexers/d/django.go | 53 - .../alecthomas/chroma/lexers/d/docker.go | 31 - .../alecthomas/chroma/lexers/d/dtd.go | 69 - .../alecthomas/chroma/lexers/e/ebnf.go | 51 - .../alecthomas/chroma/lexers/e/elixir.go | 270 - .../alecthomas/chroma/lexers/e/elm.go | 59 - .../alecthomas/chroma/lexers/e/emacs.go | 582 -- .../alecthomas/chroma/lexers/e/erlang.go | 66 - .../alecthomas/chroma/lexers/f/factor.go | 115 - .../alecthomas/chroma/lexers/f/fish.go | 65 - .../alecthomas/chroma/lexers/f/forth.go | 40 - .../alecthomas/chroma/lexers/f/fortran.go | 47 - .../alecthomas/chroma/lexers/f/fsharp.go | 94 - .../alecthomas/chroma/lexers/g/gas.go | 55 - .../alecthomas/chroma/lexers/g/gdscript.go | 124 - .../alecthomas/chroma/lexers/g/genshi.go | 114 - .../alecthomas/chroma/lexers/g/glsl.go | 37 - .../alecthomas/chroma/lexers/g/gnuplot.go | 117 - .../alecthomas/chroma/lexers/g/go.go | 114 - .../alecthomas/chroma/lexers/g/graphql.go | 45 - .../alecthomas/chroma/lexers/g/groovy.go | 58 - .../alecthomas/chroma/lexers/h/handlebars.go | 56 - .../alecthomas/chroma/lexers/h/haskell.go | 99 - .../alecthomas/chroma/lexers/h/haxe.go | 642 -- .../alecthomas/chroma/lexers/h/hcl.go | 69 - .../alecthomas/chroma/lexers/h/hexdump.go | 67 - .../alecthomas/chroma/lexers/h/html.go | 59 - .../alecthomas/chroma/lexers/h/http.go | 128 - .../alecthomas/chroma/lexers/h/hy.go | 51 - .../alecthomas/chroma/lexers/i/idris.go | 80 - .../alecthomas/chroma/lexers/i/igor.go | 32 - .../alecthomas/chroma/lexers/i/ini.go | 25 - .../alecthomas/chroma/lexers/i/io.go | 40 - .../alecthomas/chroma/lexers/internal/api.go | 160 - .../alecthomas/chroma/lexers/j/j.go | 73 - .../alecthomas/chroma/lexers/j/java.go | 51 - .../alecthomas/chroma/lexers/j/javascript.go | 73 - .../alecthomas/chroma/lexers/j/json.go | 55 - .../alecthomas/chroma/lexers/j/jsx.go | 94 - .../alecthomas/chroma/lexers/j/julia.go | 95 - .../alecthomas/chroma/lexers/j/jungle.go | 50 - .../alecthomas/chroma/lexers/k/kotlin.go | 55 - .../alecthomas/chroma/lexers/l/lighttpd.go | 30 - .../alecthomas/chroma/lexers/l/llvm.go | 43 - .../alecthomas/chroma/lexers/l/lua.go | 75 - .../alecthomas/chroma/lexers/lexers.go | 59 - .../alecthomas/chroma/lexers/m/make.go | 54 - .../alecthomas/chroma/lexers/m/mako.go | 60 - .../alecthomas/chroma/lexers/m/markdown.go | 47 - .../alecthomas/chroma/lexers/m/mason.go | 43 - .../alecthomas/chroma/lexers/m/mathematica.go | 32 - .../alecthomas/chroma/lexers/m/matlab.go | 51 - .../alecthomas/chroma/lexers/m/minizinc.go | 41 - .../alecthomas/chroma/lexers/m/mlir.go | 43 - .../alecthomas/chroma/lexers/m/modula2.go | 115 - .../alecthomas/chroma/lexers/m/monkeyc.go | 62 - .../alecthomas/chroma/lexers/m/mwscript.go | 53 - .../alecthomas/chroma/lexers/m/myghty.go | 40 - .../alecthomas/chroma/lexers/m/mysql.go | 54 - .../alecthomas/chroma/lexers/n/nasm.go | 59 - .../alecthomas/chroma/lexers/n/newspeak.go | 55 - .../alecthomas/chroma/lexers/n/nginx.go | 47 - .../alecthomas/chroma/lexers/n/nim.go | 93 - .../alecthomas/chroma/lexers/n/nix.go | 122 - .../alecthomas/chroma/lexers/o/objectivec.go | 165 - .../alecthomas/chroma/lexers/o/ocaml.go | 66 - .../alecthomas/chroma/lexers/o/octave.go | 46 - .../alecthomas/chroma/lexers/o/openscad.go | 43 - .../alecthomas/chroma/lexers/o/org.go | 102 - .../alecthomas/chroma/lexers/p/pacman.go | 26 - .../alecthomas/chroma/lexers/p/perl.go | 138 - .../alecthomas/chroma/lexers/p/pig.go | 57 - .../alecthomas/chroma/lexers/p/pkgconfig.go | 41 - .../alecthomas/chroma/lexers/p/plaintext.go | 16 - .../alecthomas/chroma/lexers/p/plsql.go | 58 - .../alecthomas/chroma/lexers/p/postgres.go | 77 - .../alecthomas/chroma/lexers/p/postscript.go | 46 - .../alecthomas/chroma/lexers/p/povray.go | 35 - .../alecthomas/chroma/lexers/p/powershell.go | 66 - .../alecthomas/chroma/lexers/p/prolog.go | 50 - .../alecthomas/chroma/lexers/p/protobuf.go | 53 - .../alecthomas/chroma/lexers/p/puppet.go | 56 - .../alecthomas/chroma/lexers/p/python.go | 137 - .../alecthomas/chroma/lexers/p/python3.go | 137 - .../alecthomas/chroma/lexers/q/qbasic.go | 67 - .../alecthomas/chroma/lexers/r/r.go | 66 - .../alecthomas/chroma/lexers/r/racket.go | 102 - .../alecthomas/chroma/lexers/r/ragel.go | 76 - .../alecthomas/chroma/lexers/r/regedit.go | 32 - .../alecthomas/chroma/lexers/r/rexx.go | 59 - .../alecthomas/chroma/lexers/r/rst.go | 86 - .../alecthomas/chroma/lexers/r/ruby.go | 250 - .../alecthomas/chroma/lexers/r/rust.go | 135 - .../alecthomas/chroma/lexers/s/sass.go | 144 - .../alecthomas/chroma/lexers/s/scala.go | 112 - .../alecthomas/chroma/lexers/s/scheme.go | 53 - .../alecthomas/chroma/lexers/s/scilab.go | 44 - .../alecthomas/chroma/lexers/s/scss.go | 124 - .../alecthomas/chroma/lexers/s/smalltalk.go | 99 - .../alecthomas/chroma/lexers/s/smarty.go | 40 - .../alecthomas/chroma/lexers/s/sml.go | 200 - .../alecthomas/chroma/lexers/s/snobol.go | 48 - .../alecthomas/chroma/lexers/s/solidity.go | 110 - .../alecthomas/chroma/lexers/s/sparql.go | 69 - .../alecthomas/chroma/lexers/s/sql.go | 49 - .../alecthomas/chroma/lexers/s/squid.go | 38 - .../alecthomas/chroma/lexers/s/swift.go | 87 - .../alecthomas/chroma/lexers/s/systemd.go | 28 - .../chroma/lexers/s/systemverilog.go | 73 - .../alecthomas/chroma/lexers/t/tablegen.go | 42 - .../alecthomas/chroma/lexers/t/tasm.go | 61 - .../alecthomas/chroma/lexers/t/tcl.go | 116 - .../alecthomas/chroma/lexers/t/tcsh.go | 59 - .../alecthomas/chroma/lexers/t/termcap.go | 42 - .../alecthomas/chroma/lexers/t/terminfo.go | 42 - .../alecthomas/chroma/lexers/t/terraform.go | 69 - .../alecthomas/chroma/lexers/t/tex.go | 56 - .../alecthomas/chroma/lexers/t/thrift.go | 73 - .../alecthomas/chroma/lexers/t/toml.go | 29 - .../alecthomas/chroma/lexers/t/tradingview.go | 40 - .../alecthomas/chroma/lexers/t/transactsql.go | 60 - .../alecthomas/chroma/lexers/t/turing.go | 43 - .../alecthomas/chroma/lexers/t/turtle.go | 67 - .../alecthomas/chroma/lexers/t/twig.go | 54 - .../alecthomas/chroma/lexers/t/typescript.go | 73 - .../alecthomas/chroma/lexers/t/typoscript.go | 125 - .../alecthomas/chroma/lexers/v/vb.go | 73 - .../alecthomas/chroma/lexers/v/verilog.go | 68 - .../alecthomas/chroma/lexers/v/vhdl.go | 66 - .../alecthomas/chroma/lexers/v/vim.go | 37 - .../alecthomas/chroma/lexers/v/vue.go | 107 - .../alecthomas/chroma/lexers/w/wdte.go | 29 - .../alecthomas/chroma/lexers/x/xml.go | 45 - .../alecthomas/chroma/lexers/x/xorg.go | 25 - .../alecthomas/chroma/lexers/y/yaml.go | 50 - .../github.com/alecthomas/chroma/mutators.go | 131 - .../alecthomas/chroma/pygments-lexers.txt | 325 - vendor/github.com/alecthomas/chroma/regexp.go | 439 - vendor/github.com/alecthomas/chroma/remap.go | 80 - vendor/github.com/alecthomas/chroma/style.go | 342 - .../alecthomas/chroma/styles/abap.go | 18 - .../alecthomas/chroma/styles/algol.go | 25 - .../alecthomas/chroma/styles/algol_nu.go | 25 - .../alecthomas/chroma/styles/api.go | 37 - .../alecthomas/chroma/styles/arduino.go | 25 - .../alecthomas/chroma/styles/autumn.go | 43 - .../alecthomas/chroma/styles/borland.go | 33 - .../github.com/alecthomas/chroma/styles/bw.go | 30 - .../alecthomas/chroma/styles/colorful.go | 59 - .../alecthomas/chroma/styles/dracula.go | 81 - .../alecthomas/chroma/styles/emacs.go | 51 - .../alecthomas/chroma/styles/friendly.go | 51 - .../alecthomas/chroma/styles/fruity.go | 26 - .../alecthomas/chroma/styles/github.go | 51 - .../alecthomas/chroma/styles/igor.go | 16 - .../alecthomas/chroma/styles/lovelace.go | 60 - .../alecthomas/chroma/styles/manni.go | 51 - .../alecthomas/chroma/styles/monokai.go | 36 - .../alecthomas/chroma/styles/monokailight.go | 33 - .../alecthomas/chroma/styles/murphy.go | 59 - .../alecthomas/chroma/styles/native.go | 42 - .../alecthomas/chroma/styles/paraiso-dark.go | 44 - .../alecthomas/chroma/styles/paraiso-light.go | 44 - .../alecthomas/chroma/styles/pastie.go | 52 - .../alecthomas/chroma/styles/perldoc.go | 44 - .../alecthomas/chroma/styles/pygments.go | 55 - .../alecthomas/chroma/styles/rainbow_dash.go | 47 - .../alecthomas/chroma/styles/rrt.go | 20 - .../chroma/styles/solarized-dark.go | 46 - .../chroma/styles/solarized-dark256.go | 48 - .../chroma/styles/solarized-light.go | 24 - .../alecthomas/chroma/styles/swapoff.go | 25 - .../alecthomas/chroma/styles/tango.go | 79 - .../alecthomas/chroma/styles/trac.go | 42 - .../alecthomas/chroma/styles/vim.go | 36 - .../github.com/alecthomas/chroma/styles/vs.go | 23 - .../alecthomas/chroma/styles/xcode.go | 29 - vendor/github.com/alecthomas/chroma/table.py | 15 - .../alecthomas/chroma/tokentype_string.go | 213 - vendor/github.com/alecthomas/chroma/types.go | 347 - .../cpuguy83/go-md2man/v2/LICENSE.md | 21 - .../cpuguy83/go-md2man/v2/md2man/md2man.go | 14 - .../cpuguy83/go-md2man/v2/md2man/roff.go | 345 - .../danwakefield/fnmatch/.gitignore | 24 - .../github.com/danwakefield/fnmatch/LICENSE | 23 - .../github.com/danwakefield/fnmatch/README.md | 4 - .../danwakefield/fnmatch/fnmatch.go | 219 - vendor/github.com/dlclark/regexp2/.DS_Store | Bin 6148 -> 0 bytes vendor/github.com/dlclark/regexp2/.gitignore | 25 - vendor/github.com/dlclark/regexp2/.travis.yml | 5 - vendor/github.com/dlclark/regexp2/ATTRIB | 133 - vendor/github.com/dlclark/regexp2/LICENSE | 21 - vendor/github.com/dlclark/regexp2/README.md | 67 - vendor/github.com/dlclark/regexp2/match.go | 347 - vendor/github.com/dlclark/regexp2/regexp.go | 357 - vendor/github.com/dlclark/regexp2/replace.go | 177 - vendor/github.com/dlclark/regexp2/runner.go | 1621 ---- .../dlclark/regexp2/syntax/charclass.go | 784 -- .../github.com/dlclark/regexp2/syntax/code.go | 274 - .../dlclark/regexp2/syntax/escape.go | 94 - .../github.com/dlclark/regexp2/syntax/fuzz.go | 20 - .../dlclark/regexp2/syntax/parser.go | 2125 ----- .../dlclark/regexp2/syntax/prefix.go | 896 --- .../dlclark/regexp2/syntax/replacerdata.go | 87 - .../github.com/dlclark/regexp2/syntax/tree.go | 654 -- .../dlclark/regexp2/syntax/writer.go | 500 -- vendor/github.com/dlclark/regexp2/testoutput1 | 7061 ----------------- .../fsnotify/fsnotify/.editorconfig | 12 - .../fsnotify/fsnotify/.gitattributes | 1 - .../github.com/fsnotify/fsnotify/.gitignore | 6 - .../github.com/fsnotify/fsnotify/.travis.yml | 36 - vendor/github.com/fsnotify/fsnotify/AUTHORS | 52 - .../github.com/fsnotify/fsnotify/CHANGELOG.md | 317 - .../fsnotify/fsnotify/CONTRIBUTING.md | 77 - vendor/github.com/fsnotify/fsnotify/LICENSE | 28 - vendor/github.com/fsnotify/fsnotify/README.md | 130 - vendor/github.com/fsnotify/fsnotify/fen.go | 37 - .../github.com/fsnotify/fsnotify/fsnotify.go | 68 - vendor/github.com/fsnotify/fsnotify/go.mod | 5 - vendor/github.com/fsnotify/fsnotify/go.sum | 2 - .../github.com/fsnotify/fsnotify/inotify.go | 337 - .../fsnotify/fsnotify/inotify_poller.go | 187 - vendor/github.com/fsnotify/fsnotify/kqueue.go | 521 -- .../fsnotify/fsnotify/open_mode_bsd.go | 11 - .../fsnotify/fsnotify/open_mode_darwin.go | 12 - .../github.com/fsnotify/fsnotify/windows.go | 561 -- vendor/github.com/gobuffalo/here/.gitignore | 28 - .../github.com/gobuffalo/here/.goreleaser.yml | 45 - vendor/github.com/gobuffalo/here/LICENSE | 21 - vendor/github.com/gobuffalo/here/Makefile | 50 - vendor/github.com/gobuffalo/here/README.md | 277 - vendor/github.com/gobuffalo/here/SHOULDERS.md | 24 - vendor/github.com/gobuffalo/here/current.go | 31 - vendor/github.com/gobuffalo/here/dir.go | 83 - vendor/github.com/gobuffalo/here/go.mod | 11 - vendor/github.com/gobuffalo/here/go.sum | 19 - vendor/github.com/gobuffalo/here/here.go | 57 - vendor/github.com/gobuffalo/here/info.go | 39 - vendor/github.com/gobuffalo/here/info_map.go | 32 - vendor/github.com/gobuffalo/here/module.go | 29 - vendor/github.com/gobuffalo/here/parse.go | 63 - vendor/github.com/gobuffalo/here/path.go | 20 - vendor/github.com/gobuffalo/here/pkg.go | 57 - vendor/github.com/gobuffalo/here/version.go | 4 - .../github.com/gorilla/websocket/.gitignore | 25 - vendor/github.com/gorilla/websocket/AUTHORS | 9 - vendor/github.com/gorilla/websocket/LICENSE | 22 - vendor/github.com/gorilla/websocket/README.md | 64 - vendor/github.com/gorilla/websocket/client.go | 395 - .../gorilla/websocket/client_clone.go | 16 - .../gorilla/websocket/client_clone_legacy.go | 38 - .../gorilla/websocket/compression.go | 148 - vendor/github.com/gorilla/websocket/conn.go | 1201 --- .../gorilla/websocket/conn_write.go | 15 - .../gorilla/websocket/conn_write_legacy.go | 18 - vendor/github.com/gorilla/websocket/doc.go | 227 - vendor/github.com/gorilla/websocket/go.mod | 3 - vendor/github.com/gorilla/websocket/go.sum | 0 vendor/github.com/gorilla/websocket/join.go | 42 - vendor/github.com/gorilla/websocket/json.go | 60 - vendor/github.com/gorilla/websocket/mask.go | 54 - .../github.com/gorilla/websocket/mask_safe.go | 15 - .../github.com/gorilla/websocket/prepared.go | 102 - vendor/github.com/gorilla/websocket/proxy.go | 77 - vendor/github.com/gorilla/websocket/server.go | 363 - vendor/github.com/gorilla/websocket/trace.go | 19 - .../github.com/gorilla/websocket/trace_17.go | 12 - vendor/github.com/gorilla/websocket/util.go | 283 - .../gorilla/websocket/x_net_proxy.go | 473 -- vendor/github.com/markbates/pkger/.gitignore | 35 - .../markbates/pkger/.goreleaser.yml | 45 - vendor/github.com/markbates/pkger/LICENSE | 21 - vendor/github.com/markbates/pkger/Makefile | 54 - vendor/github.com/markbates/pkger/README.md | 431 - .../github.com/markbates/pkger/SHOULDERS.md | 24 - vendor/github.com/markbates/pkger/apply.go | 19 - vendor/github.com/markbates/pkger/go.mod | 8 - vendor/github.com/markbates/pkger/go.sum | 22 - .../markbates/pkger/internal/maps/files.go | 124 - .../markbates/pkger/internal/maps/infos.go | 103 - .../takeon/github.com/markbates/hepa/LICENSE | 21 - .../github.com/markbates/hepa/filter.go | 35 - .../github.com/markbates/hepa/filters/env.go | 42 - .../markbates/hepa/filters/filters.go | 12 - .../markbates/hepa/filters/golang.go | 51 - .../github.com/markbates/hepa/filters/home.go | 31 - .../markbates/hepa/filters/masks.go | 5917 -------------- .../markbates/hepa/filters/secrets.go | 29 - .../takeon/github.com/markbates/hepa/hepa.go | 15 - .../github.com/markbates/hepa/purifier.go | 67 - .../github.com/markbates/hepa/version.go | 4 - vendor/github.com/markbates/pkger/pkger.go | 95 - .../markbates/pkger/pkging/embed/embed.go | 66 - .../markbates/pkger/pkging/embed/file.go | 14 - .../markbates/pkger/pkging/faces.go | 7 - .../github.com/markbates/pkger/pkging/file.go | 44 - .../markbates/pkger/pkging/file_info.go | 65 - .../markbates/pkger/pkging/mem/add.go | 104 - .../markbates/pkger/pkging/mem/embed.go | 92 - .../markbates/pkger/pkging/mem/file.go | 203 - .../markbates/pkger/pkging/mem/mem.go | 252 - .../markbates/pkger/pkging/mod_time.go | 24 - .../markbates/pkger/pkging/pkger.go | 43 - .../markbates/pkger/pkging/stdos/file.go | 73 - .../markbates/pkger/pkging/stdos/json.go | 1 - .../markbates/pkger/pkging/stdos/stdos.go | 223 - .../github.com/markbates/pkger/pkging/wrap.go | 145 - vendor/github.com/markbates/pkger/version.go | 4 - .../russross/blackfriday/v2/.gitignore | 8 - .../russross/blackfriday/v2/.travis.yml | 17 - .../russross/blackfriday/v2/LICENSE.txt | 29 - .../russross/blackfriday/v2/README.md | 291 - .../russross/blackfriday/v2/block.go | 1590 ---- .../github.com/russross/blackfriday/v2/doc.go | 18 - .../github.com/russross/blackfriday/v2/esc.go | 34 - .../github.com/russross/blackfriday/v2/go.mod | 1 - .../russross/blackfriday/v2/html.go | 949 --- .../russross/blackfriday/v2/inline.go | 1228 --- .../russross/blackfriday/v2/markdown.go | 950 --- .../russross/blackfriday/v2/node.go | 354 - .../russross/blackfriday/v2/smartypants.go | 457 -- .../sanitized_anchor_name/.travis.yml | 16 - .../shurcooL/sanitized_anchor_name/LICENSE | 21 - .../shurcooL/sanitized_anchor_name/README.md | 36 - .../shurcooL/sanitized_anchor_name/go.mod | 1 - .../shurcooL/sanitized_anchor_name/main.go | 29 - vendor/github.com/urfave/cli/.flake8 | 2 - vendor/github.com/urfave/cli/.gitignore | 4 - .../github.com/urfave/cli/CODE_OF_CONDUCT.md | 74 - vendor/github.com/urfave/cli/LICENSE | 21 - vendor/github.com/urfave/cli/README.md | 70 - vendor/github.com/urfave/cli/app.go | 533 -- vendor/github.com/urfave/cli/appveyor.yml | 28 - vendor/github.com/urfave/cli/category.go | 44 - vendor/github.com/urfave/cli/cli.go | 22 - vendor/github.com/urfave/cli/command.go | 379 - vendor/github.com/urfave/cli/context.go | 347 - vendor/github.com/urfave/cli/docs.go | 148 - vendor/github.com/urfave/cli/errors.go | 115 - vendor/github.com/urfave/cli/fish.go | 194 - vendor/github.com/urfave/cli/flag.go | 346 - vendor/github.com/urfave/cli/flag_bool.go | 109 - vendor/github.com/urfave/cli/flag_bool_t.go | 110 - vendor/github.com/urfave/cli/flag_duration.go | 106 - vendor/github.com/urfave/cli/flag_float64.go | 106 - vendor/github.com/urfave/cli/flag_generic.go | 110 - vendor/github.com/urfave/cli/flag_int.go | 105 - vendor/github.com/urfave/cli/flag_int64.go | 106 - .../github.com/urfave/cli/flag_int64_slice.go | 197 - .../github.com/urfave/cli/flag_int_slice.go | 196 - vendor/github.com/urfave/cli/flag_string.go | 98 - .../urfave/cli/flag_string_slice.go | 182 - vendor/github.com/urfave/cli/flag_uint.go | 106 - vendor/github.com/urfave/cli/flag_uint64.go | 106 - vendor/github.com/urfave/cli/funcs.go | 44 - vendor/github.com/urfave/cli/go.mod | 9 - vendor/github.com/urfave/cli/go.sum | 14 - vendor/github.com/urfave/cli/help.go | 363 - vendor/github.com/urfave/cli/parse.go | 89 - vendor/github.com/urfave/cli/sort.go | 29 - vendor/github.com/urfave/cli/template.go | 121 - vendor/golang.org/x/sys/AUTHORS | 3 - vendor/golang.org/x/sys/CONTRIBUTORS | 3 - vendor/golang.org/x/sys/LICENSE | 27 - vendor/golang.org/x/sys/PATENTS | 22 - vendor/golang.org/x/sys/unix/.gitignore | 2 - vendor/golang.org/x/sys/unix/README.md | 173 - .../golang.org/x/sys/unix/affinity_linux.go | 86 - vendor/golang.org/x/sys/unix/aliases.go | 14 - vendor/golang.org/x/sys/unix/asm_aix_ppc64.s | 17 - vendor/golang.org/x/sys/unix/asm_darwin_386.s | 29 - .../golang.org/x/sys/unix/asm_darwin_amd64.s | 29 - vendor/golang.org/x/sys/unix/asm_darwin_arm.s | 30 - .../golang.org/x/sys/unix/asm_darwin_arm64.s | 30 - .../x/sys/unix/asm_dragonfly_amd64.s | 29 - .../golang.org/x/sys/unix/asm_freebsd_386.s | 29 - .../golang.org/x/sys/unix/asm_freebsd_amd64.s | 29 - .../golang.org/x/sys/unix/asm_freebsd_arm.s | 29 - .../golang.org/x/sys/unix/asm_freebsd_arm64.s | 29 - vendor/golang.org/x/sys/unix/asm_linux_386.s | 65 - .../golang.org/x/sys/unix/asm_linux_amd64.s | 57 - vendor/golang.org/x/sys/unix/asm_linux_arm.s | 56 - .../golang.org/x/sys/unix/asm_linux_arm64.s | 52 - .../golang.org/x/sys/unix/asm_linux_mips64x.s | 56 - .../golang.org/x/sys/unix/asm_linux_mipsx.s | 54 - .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 44 - .../golang.org/x/sys/unix/asm_linux_riscv64.s | 54 - .../golang.org/x/sys/unix/asm_linux_s390x.s | 56 - vendor/golang.org/x/sys/unix/asm_netbsd_386.s | 29 - .../golang.org/x/sys/unix/asm_netbsd_amd64.s | 29 - vendor/golang.org/x/sys/unix/asm_netbsd_arm.s | 29 - .../golang.org/x/sys/unix/asm_netbsd_arm64.s | 29 - .../golang.org/x/sys/unix/asm_openbsd_386.s | 29 - .../golang.org/x/sys/unix/asm_openbsd_amd64.s | 29 - .../golang.org/x/sys/unix/asm_openbsd_arm.s | 29 - .../golang.org/x/sys/unix/asm_openbsd_arm64.s | 29 - .../golang.org/x/sys/unix/asm_solaris_amd64.s | 17 - .../golang.org/x/sys/unix/bluetooth_linux.go | 35 - vendor/golang.org/x/sys/unix/cap_freebsd.go | 195 - vendor/golang.org/x/sys/unix/constants.go | 13 - vendor/golang.org/x/sys/unix/dev_aix_ppc.go | 27 - vendor/golang.org/x/sys/unix/dev_aix_ppc64.go | 29 - vendor/golang.org/x/sys/unix/dev_darwin.go | 24 - vendor/golang.org/x/sys/unix/dev_dragonfly.go | 30 - vendor/golang.org/x/sys/unix/dev_freebsd.go | 30 - vendor/golang.org/x/sys/unix/dev_linux.go | 42 - vendor/golang.org/x/sys/unix/dev_netbsd.go | 29 - vendor/golang.org/x/sys/unix/dev_openbsd.go | 29 - vendor/golang.org/x/sys/unix/dirent.go | 102 - vendor/golang.org/x/sys/unix/endian_big.go | 9 - vendor/golang.org/x/sys/unix/endian_little.go | 9 - vendor/golang.org/x/sys/unix/env_unix.go | 31 - .../x/sys/unix/errors_freebsd_386.go | 227 - .../x/sys/unix/errors_freebsd_amd64.go | 227 - .../x/sys/unix/errors_freebsd_arm.go | 226 - vendor/golang.org/x/sys/unix/fcntl.go | 32 - vendor/golang.org/x/sys/unix/fcntl_darwin.go | 18 - .../x/sys/unix/fcntl_linux_32bit.go | 13 - vendor/golang.org/x/sys/unix/gccgo.go | 62 - vendor/golang.org/x/sys/unix/gccgo_c.c | 39 - .../x/sys/unix/gccgo_linux_amd64.go | 20 - vendor/golang.org/x/sys/unix/ioctl.go | 65 - vendor/golang.org/x/sys/unix/mkall.sh | 229 - vendor/golang.org/x/sys/unix/mkerrors.sh | 684 -- vendor/golang.org/x/sys/unix/pagesize_unix.go | 15 - .../golang.org/x/sys/unix/pledge_openbsd.go | 163 - vendor/golang.org/x/sys/unix/race.go | 30 - vendor/golang.org/x/sys/unix/race0.go | 25 - .../x/sys/unix/readdirent_getdents.go | 12 - .../x/sys/unix/readdirent_getdirentries.go | 19 - .../golang.org/x/sys/unix/sockcmsg_linux.go | 36 - vendor/golang.org/x/sys/unix/sockcmsg_unix.go | 120 - vendor/golang.org/x/sys/unix/str.go | 26 - vendor/golang.org/x/sys/unix/syscall.go | 53 - vendor/golang.org/x/sys/unix/syscall_aix.go | 536 -- .../golang.org/x/sys/unix/syscall_aix_ppc.go | 54 - .../x/sys/unix/syscall_aix_ppc64.go | 85 - vendor/golang.org/x/sys/unix/syscall_bsd.go | 616 -- .../x/sys/unix/syscall_darwin.1_12.go | 29 - .../x/sys/unix/syscall_darwin.1_13.go | 103 - .../golang.org/x/sys/unix/syscall_darwin.go | 680 -- .../x/sys/unix/syscall_darwin_386.1_11.go | 9 - .../x/sys/unix/syscall_darwin_386.go | 69 - .../x/sys/unix/syscall_darwin_amd64.1_11.go | 9 - .../x/sys/unix/syscall_darwin_amd64.go | 69 - .../x/sys/unix/syscall_darwin_arm.1_11.go | 11 - .../x/sys/unix/syscall_darwin_arm.go | 72 - .../x/sys/unix/syscall_darwin_arm64.1_11.go | 11 - .../x/sys/unix/syscall_darwin_arm64.go | 74 - .../x/sys/unix/syscall_darwin_libSystem.go | 33 - .../x/sys/unix/syscall_dragonfly.go | 521 -- .../x/sys/unix/syscall_dragonfly_amd64.go | 56 - .../golang.org/x/sys/unix/syscall_freebsd.go | 879 -- .../x/sys/unix/syscall_freebsd_386.go | 56 - .../x/sys/unix/syscall_freebsd_amd64.go | 56 - .../x/sys/unix/syscall_freebsd_arm.go | 56 - .../x/sys/unix/syscall_freebsd_arm64.go | 56 - vendor/golang.org/x/sys/unix/syscall_linux.go | 1969 ----- .../x/sys/unix/syscall_linux_386.go | 390 - .../x/sys/unix/syscall_linux_amd64.go | 194 - .../x/sys/unix/syscall_linux_amd64_gc.go | 13 - .../x/sys/unix/syscall_linux_arm.go | 291 - .../x/sys/unix/syscall_linux_arm64.go | 227 - .../golang.org/x/sys/unix/syscall_linux_gc.go | 14 - .../x/sys/unix/syscall_linux_gc_386.go | 16 - .../x/sys/unix/syscall_linux_gccgo_386.go | 30 - .../x/sys/unix/syscall_linux_gccgo_arm.go | 20 - .../x/sys/unix/syscall_linux_mips64x.go | 226 - .../x/sys/unix/syscall_linux_mipsx.go | 238 - .../x/sys/unix/syscall_linux_ppc64x.go | 156 - .../x/sys/unix/syscall_linux_riscv64.go | 230 - .../x/sys/unix/syscall_linux_s390x.go | 342 - .../x/sys/unix/syscall_linux_sparc64.go | 151 - .../golang.org/x/sys/unix/syscall_netbsd.go | 620 -- .../x/sys/unix/syscall_netbsd_386.go | 37 - .../x/sys/unix/syscall_netbsd_amd64.go | 37 - .../x/sys/unix/syscall_netbsd_arm.go | 37 - .../x/sys/unix/syscall_netbsd_arm64.go | 37 - .../golang.org/x/sys/unix/syscall_openbsd.go | 414 - .../x/sys/unix/syscall_openbsd_386.go | 41 - .../x/sys/unix/syscall_openbsd_amd64.go | 41 - .../x/sys/unix/syscall_openbsd_arm.go | 41 - .../x/sys/unix/syscall_openbsd_arm64.go | 41 - .../golang.org/x/sys/unix/syscall_solaris.go | 724 -- .../x/sys/unix/syscall_solaris_amd64.go | 27 - vendor/golang.org/x/sys/unix/syscall_unix.go | 431 - .../golang.org/x/sys/unix/syscall_unix_gc.go | 15 - .../x/sys/unix/syscall_unix_gc_ppc64x.go | 24 - vendor/golang.org/x/sys/unix/timestruct.go | 82 - .../golang.org/x/sys/unix/unveil_openbsd.go | 42 - vendor/golang.org/x/sys/unix/xattr_bsd.go | 240 - .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1374 ---- .../x/sys/unix/zerrors_aix_ppc64.go | 1375 ---- .../x/sys/unix/zerrors_darwin_386.go | 1784 ----- .../x/sys/unix/zerrors_darwin_amd64.go | 1784 ----- .../x/sys/unix/zerrors_darwin_arm.go | 1784 ----- .../x/sys/unix/zerrors_darwin_arm64.go | 1784 ----- .../x/sys/unix/zerrors_dragonfly_amd64.go | 1651 ---- .../x/sys/unix/zerrors_freebsd_386.go | 1794 ----- .../x/sys/unix/zerrors_freebsd_amd64.go | 1795 ----- .../x/sys/unix/zerrors_freebsd_arm.go | 1803 ----- .../x/sys/unix/zerrors_freebsd_arm64.go | 1795 ----- .../x/sys/unix/zerrors_linux_386.go | 3123 -------- .../x/sys/unix/zerrors_linux_amd64.go | 3123 -------- .../x/sys/unix/zerrors_linux_arm.go | 3129 -------- .../x/sys/unix/zerrors_linux_arm64.go | 3116 -------- .../x/sys/unix/zerrors_linux_mips.go | 3130 -------- .../x/sys/unix/zerrors_linux_mips64.go | 3130 -------- .../x/sys/unix/zerrors_linux_mips64le.go | 3130 -------- .../x/sys/unix/zerrors_linux_mipsle.go | 3130 -------- .../x/sys/unix/zerrors_linux_ppc64.go | 3185 -------- .../x/sys/unix/zerrors_linux_ppc64le.go | 3185 -------- .../x/sys/unix/zerrors_linux_riscv64.go | 3110 -------- .../x/sys/unix/zerrors_linux_s390x.go | 3183 -------- .../x/sys/unix/zerrors_linux_sparc64.go | 3179 -------- .../x/sys/unix/zerrors_netbsd_386.go | 1773 ----- .../x/sys/unix/zerrors_netbsd_amd64.go | 1763 ---- .../x/sys/unix/zerrors_netbsd_arm.go | 1752 ---- .../x/sys/unix/zerrors_netbsd_arm64.go | 1763 ---- .../x/sys/unix/zerrors_openbsd_386.go | 1657 ---- .../x/sys/unix/zerrors_openbsd_amd64.go | 1767 ----- .../x/sys/unix/zerrors_openbsd_arm.go | 1659 ---- .../x/sys/unix/zerrors_openbsd_arm64.go | 1790 ----- .../x/sys/unix/zerrors_solaris_amd64.go | 1533 ---- .../golang.org/x/sys/unix/zptrace386_linux.go | 80 - .../golang.org/x/sys/unix/zptracearm_linux.go | 41 - .../x/sys/unix/zptracemips_linux.go | 50 - .../x/sys/unix/zptracemipsle_linux.go | 50 - .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1484 ---- .../x/sys/unix/zsyscall_aix_ppc64.go | 1442 ---- .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 1192 --- .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 1070 --- .../x/sys/unix/zsyscall_darwin_386.1_11.go | 1811 ----- .../x/sys/unix/zsyscall_darwin_386.1_13.go | 41 - .../x/sys/unix/zsyscall_darwin_386.1_13.s | 12 - .../x/sys/unix/zsyscall_darwin_386.go | 2499 ------ .../x/sys/unix/zsyscall_darwin_386.s | 284 - .../x/sys/unix/zsyscall_darwin_amd64.1_11.go | 1811 ----- .../x/sys/unix/zsyscall_darwin_amd64.1_13.go | 41 - .../x/sys/unix/zsyscall_darwin_amd64.1_13.s | 12 - .../x/sys/unix/zsyscall_darwin_amd64.go | 2499 ------ .../x/sys/unix/zsyscall_darwin_amd64.s | 284 - .../x/sys/unix/zsyscall_darwin_arm.1_11.go | 1768 ----- .../x/sys/unix/zsyscall_darwin_arm.1_13.go | 41 - .../x/sys/unix/zsyscall_darwin_arm.1_13.s | 12 - .../x/sys/unix/zsyscall_darwin_arm.go | 2463 ------ .../x/sys/unix/zsyscall_darwin_arm.s | 280 - .../x/sys/unix/zsyscall_darwin_arm64.1_11.go | 1768 ----- .../x/sys/unix/zsyscall_darwin_arm64.1_13.go | 41 - .../x/sys/unix/zsyscall_darwin_arm64.1_13.s | 12 - .../x/sys/unix/zsyscall_darwin_arm64.go | 2463 ------ .../x/sys/unix/zsyscall_darwin_arm64.s | 280 - .../x/sys/unix/zsyscall_dragonfly_amd64.go | 1677 ---- .../x/sys/unix/zsyscall_freebsd_386.go | 2026 ----- .../x/sys/unix/zsyscall_freebsd_amd64.go | 2026 ----- .../x/sys/unix/zsyscall_freebsd_arm.go | 2026 ----- .../x/sys/unix/zsyscall_freebsd_arm64.go | 2026 ----- .../x/sys/unix/zsyscall_linux_386.go | 2300 ------ .../x/sys/unix/zsyscall_linux_amd64.go | 2467 ------ .../x/sys/unix/zsyscall_linux_arm.go | 2437 ------ .../x/sys/unix/zsyscall_linux_arm64.go | 2324 ------ .../x/sys/unix/zsyscall_linux_mips.go | 2480 ------ .../x/sys/unix/zsyscall_linux_mips64.go | 2451 ------ .../x/sys/unix/zsyscall_linux_mips64le.go | 2451 ------ .../x/sys/unix/zsyscall_linux_mipsle.go | 2480 ------ .../x/sys/unix/zsyscall_linux_ppc64.go | 2529 ------ .../x/sys/unix/zsyscall_linux_ppc64le.go | 2529 ------ .../x/sys/unix/zsyscall_linux_riscv64.go | 2304 ------ .../x/sys/unix/zsyscall_linux_s390x.go | 2299 ------ .../x/sys/unix/zsyscall_linux_sparc64.go | 2462 ------ .../x/sys/unix/zsyscall_netbsd_386.go | 1827 ----- .../x/sys/unix/zsyscall_netbsd_amd64.go | 1827 ----- .../x/sys/unix/zsyscall_netbsd_arm.go | 1827 ----- .../x/sys/unix/zsyscall_netbsd_arm64.go | 1827 ----- .../x/sys/unix/zsyscall_openbsd_386.go | 1693 ---- .../x/sys/unix/zsyscall_openbsd_amd64.go | 1693 ---- .../x/sys/unix/zsyscall_openbsd_arm.go | 1693 ---- .../x/sys/unix/zsyscall_openbsd_arm64.go | 1693 ---- .../x/sys/unix/zsyscall_solaris_amd64.go | 1954 ----- .../x/sys/unix/zsysctl_openbsd_386.go | 272 - .../x/sys/unix/zsysctl_openbsd_amd64.go | 270 - .../x/sys/unix/zsysctl_openbsd_arm.go | 272 - .../x/sys/unix/zsysctl_openbsd_arm64.go | 275 - .../x/sys/unix/zsysnum_darwin_386.go | 436 - .../x/sys/unix/zsysnum_darwin_amd64.go | 438 - .../x/sys/unix/zsysnum_darwin_arm.go | 436 - .../x/sys/unix/zsysnum_darwin_arm64.go | 436 - .../x/sys/unix/zsysnum_dragonfly_amd64.go | 315 - .../x/sys/unix/zsysnum_freebsd_386.go | 396 - .../x/sys/unix/zsysnum_freebsd_amd64.go | 396 - .../x/sys/unix/zsysnum_freebsd_arm.go | 396 - .../x/sys/unix/zsysnum_freebsd_arm64.go | 396 - .../x/sys/unix/zsysnum_linux_386.go | 434 - .../x/sys/unix/zsysnum_linux_amd64.go | 356 - .../x/sys/unix/zsysnum_linux_arm.go | 398 - .../x/sys/unix/zsysnum_linux_arm64.go | 300 - .../x/sys/unix/zsysnum_linux_mips.go | 418 - .../x/sys/unix/zsysnum_linux_mips64.go | 348 - .../x/sys/unix/zsysnum_linux_mips64le.go | 348 - .../x/sys/unix/zsysnum_linux_mipsle.go | 418 - .../x/sys/unix/zsysnum_linux_ppc64.go | 398 - .../x/sys/unix/zsysnum_linux_ppc64le.go | 398 - .../x/sys/unix/zsysnum_linux_riscv64.go | 300 - .../x/sys/unix/zsysnum_linux_s390x.go | 363 - .../x/sys/unix/zsysnum_linux_sparc64.go | 377 - .../x/sys/unix/zsysnum_netbsd_386.go | 274 - .../x/sys/unix/zsysnum_netbsd_amd64.go | 274 - .../x/sys/unix/zsysnum_netbsd_arm.go | 274 - .../x/sys/unix/zsysnum_netbsd_arm64.go | 274 - .../x/sys/unix/zsysnum_openbsd_386.go | 218 - .../x/sys/unix/zsysnum_openbsd_amd64.go | 218 - .../x/sys/unix/zsysnum_openbsd_arm.go | 218 - .../x/sys/unix/zsysnum_openbsd_arm64.go | 217 - .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 352 - .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 356 - .../x/sys/unix/ztypes_darwin_386.go | 499 -- .../x/sys/unix/ztypes_darwin_amd64.go | 509 -- .../x/sys/unix/ztypes_darwin_arm.go | 500 -- .../x/sys/unix/ztypes_darwin_arm64.go | 509 -- .../x/sys/unix/ztypes_dragonfly_amd64.go | 469 -- .../x/sys/unix/ztypes_freebsd_386.go | 700 -- .../x/sys/unix/ztypes_freebsd_amd64.go | 706 -- .../x/sys/unix/ztypes_freebsd_arm.go | 683 -- .../x/sys/unix/ztypes_freebsd_arm64.go | 684 -- .../golang.org/x/sys/unix/ztypes_linux_386.go | 2608 ------ .../x/sys/unix/ztypes_linux_amd64.go | 2622 ------ .../golang.org/x/sys/unix/ztypes_linux_arm.go | 2599 ------ .../x/sys/unix/ztypes_linux_arm64.go | 2601 ------ .../x/sys/unix/ztypes_linux_mips.go | 2605 ------ .../x/sys/unix/ztypes_linux_mips64.go | 2603 ------ .../x/sys/unix/ztypes_linux_mips64le.go | 2603 ------ .../x/sys/unix/ztypes_linux_mipsle.go | 2605 ------ .../x/sys/unix/ztypes_linux_ppc64.go | 2611 ------ .../x/sys/unix/ztypes_linux_ppc64le.go | 2611 ------ .../x/sys/unix/ztypes_linux_riscv64.go | 2629 ------ .../x/sys/unix/ztypes_linux_s390x.go | 2625 ------ .../x/sys/unix/ztypes_linux_sparc64.go | 2606 ------ .../x/sys/unix/ztypes_netbsd_386.go | 466 -- .../x/sys/unix/ztypes_netbsd_amd64.go | 473 -- .../x/sys/unix/ztypes_netbsd_arm.go | 471 -- .../x/sys/unix/ztypes_netbsd_arm64.go | 473 -- .../x/sys/unix/ztypes_openbsd_386.go | 571 -- .../x/sys/unix/ztypes_openbsd_amd64.go | 571 -- .../x/sys/unix/ztypes_openbsd_arm.go | 572 -- .../x/sys/unix/ztypes_openbsd_arm64.go | 565 -- .../x/sys/unix/ztypes_solaris_amd64.go | 442 -- vendor/modules.txt | 61 - www/embed.go | 18 + 717 files changed, 87 insertions(+), 289317 deletions(-) delete mode 100644 .drone.yml create mode 100644 .github/workflows/go.yml delete mode 100644 vendor/github.com/alecthomas/chroma/.gitignore delete mode 100644 vendor/github.com/alecthomas/chroma/.golangci.yml delete mode 100644 vendor/github.com/alecthomas/chroma/.goreleaser.yml delete mode 100644 vendor/github.com/alecthomas/chroma/.travis.yml delete mode 100644 vendor/github.com/alecthomas/chroma/COPYING delete mode 100644 vendor/github.com/alecthomas/chroma/Makefile delete mode 100644 vendor/github.com/alecthomas/chroma/README.md delete mode 100644 vendor/github.com/alecthomas/chroma/coalesce.go delete mode 100644 vendor/github.com/alecthomas/chroma/colour.go delete mode 100644 vendor/github.com/alecthomas/chroma/delegate.go delete mode 100644 vendor/github.com/alecthomas/chroma/doc.go delete mode 100644 vendor/github.com/alecthomas/chroma/formatter.go delete mode 100644 vendor/github.com/alecthomas/chroma/formatters/html/html.go delete mode 100644 vendor/github.com/alecthomas/chroma/go.mod delete mode 100644 vendor/github.com/alecthomas/chroma/go.sum delete mode 100644 vendor/github.com/alecthomas/chroma/iterator.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexer.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/README.md delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/abap.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/abnf.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/actionscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/actionscript3.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/ada.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/angular2.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/antlr.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/apache.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/apl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/applescript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/arduino.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/a/awk.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/ballerina.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/bash.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/batch.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/bibtex.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/blitz.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/bnf.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/b/brainfuck.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/c.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/capnproto.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/ceylon.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cfengine3.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/chaiscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cheetah.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/clojure.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cmake.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cobol.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/coffee.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/coldfusion.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/coq.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cpp.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/crystal.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/csharp.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/css.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/c/cython.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/circular/doc.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/circular/php.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/d.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/dart.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/diff.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/django.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/docker.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/d/dtd.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/e/ebnf.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/e/elixir.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/e/elm.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/e/emacs.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/e/erlang.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/f/factor.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/f/fish.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/f/forth.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/f/fortran.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/f/fsharp.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/gas.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/gdscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/genshi.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/glsl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/gnuplot.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/go.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/graphql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/g/groovy.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/handlebars.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/haskell.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/haxe.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/hcl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/hexdump.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/html.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/http.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/h/hy.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/i/idris.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/i/igor.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/i/ini.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/i/io.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/internal/api.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/j.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/java.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/javascript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/json.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/jsx.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/julia.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/j/jungle.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/k/kotlin.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/l/lighttpd.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/l/llvm.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/l/lua.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/lexers.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/make.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mako.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/markdown.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mason.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mathematica.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/matlab.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/minizinc.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mlir.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/modula2.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/monkeyc.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mwscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/myghty.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/m/mysql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/n/nasm.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/n/newspeak.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/n/nginx.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/n/nim.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/n/nix.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/o/objectivec.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/o/ocaml.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/o/octave.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/o/openscad.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/o/org.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/pacman.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/perl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/pig.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/pkgconfig.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/plaintext.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/plsql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/postgres.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/postscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/povray.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/powershell.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/prolog.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/protobuf.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/puppet.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/python.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/p/python3.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/q/qbasic.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/r.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/racket.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/ragel.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/regedit.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/rexx.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/rst.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/ruby.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/r/rust.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/sass.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/scala.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/scheme.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/scilab.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/scss.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/smalltalk.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/smarty.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/sml.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/snobol.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/solidity.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/sparql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/sql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/squid.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/swift.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/systemd.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/s/systemverilog.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tablegen.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tasm.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tcl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tcsh.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/termcap.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/terminfo.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/terraform.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tex.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/thrift.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/toml.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/tradingview.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/transactsql.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/turing.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/turtle.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/twig.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/typescript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/t/typoscript.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/v/vb.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/v/verilog.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/v/vhdl.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/v/vim.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/v/vue.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/w/wdte.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/x/xml.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/x/xorg.go delete mode 100644 vendor/github.com/alecthomas/chroma/lexers/y/yaml.go delete mode 100644 vendor/github.com/alecthomas/chroma/mutators.go delete mode 100644 vendor/github.com/alecthomas/chroma/pygments-lexers.txt delete mode 100644 vendor/github.com/alecthomas/chroma/regexp.go delete mode 100644 vendor/github.com/alecthomas/chroma/remap.go delete mode 100644 vendor/github.com/alecthomas/chroma/style.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/abap.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/algol.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/algol_nu.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/api.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/arduino.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/autumn.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/borland.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/bw.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/colorful.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/dracula.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/emacs.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/friendly.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/fruity.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/github.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/igor.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/lovelace.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/manni.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/monokai.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/monokailight.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/murphy.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/native.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/paraiso-dark.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/paraiso-light.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/pastie.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/perldoc.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/pygments.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/rainbow_dash.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/rrt.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/solarized-dark.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/solarized-dark256.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/solarized-light.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/swapoff.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/tango.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/trac.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/vim.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/vs.go delete mode 100644 vendor/github.com/alecthomas/chroma/styles/xcode.go delete mode 100644 vendor/github.com/alecthomas/chroma/table.py delete mode 100644 vendor/github.com/alecthomas/chroma/tokentype_string.go delete mode 100644 vendor/github.com/alecthomas/chroma/types.go delete mode 100644 vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md delete mode 100644 vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go delete mode 100644 vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go delete mode 100644 vendor/github.com/danwakefield/fnmatch/.gitignore delete mode 100644 vendor/github.com/danwakefield/fnmatch/LICENSE delete mode 100644 vendor/github.com/danwakefield/fnmatch/README.md delete mode 100644 vendor/github.com/danwakefield/fnmatch/fnmatch.go delete mode 100644 vendor/github.com/dlclark/regexp2/.DS_Store delete mode 100644 vendor/github.com/dlclark/regexp2/.gitignore delete mode 100644 vendor/github.com/dlclark/regexp2/.travis.yml delete mode 100644 vendor/github.com/dlclark/regexp2/ATTRIB delete mode 100644 vendor/github.com/dlclark/regexp2/LICENSE delete mode 100644 vendor/github.com/dlclark/regexp2/README.md delete mode 100644 vendor/github.com/dlclark/regexp2/match.go delete mode 100644 vendor/github.com/dlclark/regexp2/regexp.go delete mode 100644 vendor/github.com/dlclark/regexp2/replace.go delete mode 100644 vendor/github.com/dlclark/regexp2/runner.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/charclass.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/code.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/escape.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/fuzz.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/parser.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/prefix.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/replacerdata.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/tree.go delete mode 100644 vendor/github.com/dlclark/regexp2/syntax/writer.go delete mode 100644 vendor/github.com/dlclark/regexp2/testoutput1 delete mode 100644 vendor/github.com/fsnotify/fsnotify/.editorconfig delete mode 100644 vendor/github.com/fsnotify/fsnotify/.gitattributes delete mode 100644 vendor/github.com/fsnotify/fsnotify/.gitignore delete mode 100644 vendor/github.com/fsnotify/fsnotify/.travis.yml delete mode 100644 vendor/github.com/fsnotify/fsnotify/AUTHORS delete mode 100644 vendor/github.com/fsnotify/fsnotify/CHANGELOG.md delete mode 100644 vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md delete mode 100644 vendor/github.com/fsnotify/fsnotify/LICENSE delete mode 100644 vendor/github.com/fsnotify/fsnotify/README.md delete mode 100644 vendor/github.com/fsnotify/fsnotify/fen.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/fsnotify.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/go.mod delete mode 100644 vendor/github.com/fsnotify/fsnotify/go.sum delete mode 100644 vendor/github.com/fsnotify/fsnotify/inotify.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/inotify_poller.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/kqueue.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go delete mode 100644 vendor/github.com/fsnotify/fsnotify/windows.go delete mode 100644 vendor/github.com/gobuffalo/here/.gitignore delete mode 100644 vendor/github.com/gobuffalo/here/.goreleaser.yml delete mode 100644 vendor/github.com/gobuffalo/here/LICENSE delete mode 100644 vendor/github.com/gobuffalo/here/Makefile delete mode 100644 vendor/github.com/gobuffalo/here/README.md delete mode 100644 vendor/github.com/gobuffalo/here/SHOULDERS.md delete mode 100644 vendor/github.com/gobuffalo/here/current.go delete mode 100644 vendor/github.com/gobuffalo/here/dir.go delete mode 100644 vendor/github.com/gobuffalo/here/go.mod delete mode 100644 vendor/github.com/gobuffalo/here/go.sum delete mode 100644 vendor/github.com/gobuffalo/here/here.go delete mode 100644 vendor/github.com/gobuffalo/here/info.go delete mode 100644 vendor/github.com/gobuffalo/here/info_map.go delete mode 100644 vendor/github.com/gobuffalo/here/module.go delete mode 100644 vendor/github.com/gobuffalo/here/parse.go delete mode 100644 vendor/github.com/gobuffalo/here/path.go delete mode 100644 vendor/github.com/gobuffalo/here/pkg.go delete mode 100644 vendor/github.com/gobuffalo/here/version.go delete mode 100644 vendor/github.com/gorilla/websocket/.gitignore delete mode 100644 vendor/github.com/gorilla/websocket/AUTHORS delete mode 100644 vendor/github.com/gorilla/websocket/LICENSE delete mode 100644 vendor/github.com/gorilla/websocket/README.md delete mode 100644 vendor/github.com/gorilla/websocket/client.go delete mode 100644 vendor/github.com/gorilla/websocket/client_clone.go delete mode 100644 vendor/github.com/gorilla/websocket/client_clone_legacy.go delete mode 100644 vendor/github.com/gorilla/websocket/compression.go delete mode 100644 vendor/github.com/gorilla/websocket/conn.go delete mode 100644 vendor/github.com/gorilla/websocket/conn_write.go delete mode 100644 vendor/github.com/gorilla/websocket/conn_write_legacy.go delete mode 100644 vendor/github.com/gorilla/websocket/doc.go delete mode 100644 vendor/github.com/gorilla/websocket/go.mod delete mode 100644 vendor/github.com/gorilla/websocket/go.sum delete mode 100644 vendor/github.com/gorilla/websocket/join.go delete mode 100644 vendor/github.com/gorilla/websocket/json.go delete mode 100644 vendor/github.com/gorilla/websocket/mask.go delete mode 100644 vendor/github.com/gorilla/websocket/mask_safe.go delete mode 100644 vendor/github.com/gorilla/websocket/prepared.go delete mode 100644 vendor/github.com/gorilla/websocket/proxy.go delete mode 100644 vendor/github.com/gorilla/websocket/server.go delete mode 100644 vendor/github.com/gorilla/websocket/trace.go delete mode 100644 vendor/github.com/gorilla/websocket/trace_17.go delete mode 100644 vendor/github.com/gorilla/websocket/util.go delete mode 100644 vendor/github.com/gorilla/websocket/x_net_proxy.go delete mode 100644 vendor/github.com/markbates/pkger/.gitignore delete mode 100644 vendor/github.com/markbates/pkger/.goreleaser.yml delete mode 100644 vendor/github.com/markbates/pkger/LICENSE delete mode 100644 vendor/github.com/markbates/pkger/Makefile delete mode 100644 vendor/github.com/markbates/pkger/README.md delete mode 100644 vendor/github.com/markbates/pkger/SHOULDERS.md delete mode 100644 vendor/github.com/markbates/pkger/apply.go delete mode 100644 vendor/github.com/markbates/pkger/go.mod delete mode 100644 vendor/github.com/markbates/pkger/go.sum delete mode 100644 vendor/github.com/markbates/pkger/internal/maps/files.go delete mode 100644 vendor/github.com/markbates/pkger/internal/maps/infos.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/LICENSE delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filter.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/env.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/filters.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/golang.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/home.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/masks.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/filters/secrets.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/hepa.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/purifier.go delete mode 100644 vendor/github.com/markbates/pkger/internal/takeon/github.com/markbates/hepa/version.go delete mode 100644 vendor/github.com/markbates/pkger/pkger.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/embed/embed.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/embed/file.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/faces.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/file.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/file_info.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/mem/add.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/mem/embed.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/mem/file.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/mem/mem.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/mod_time.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/pkger.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/stdos/file.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/stdos/json.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/stdos/stdos.go delete mode 100644 vendor/github.com/markbates/pkger/pkging/wrap.go delete mode 100644 vendor/github.com/markbates/pkger/version.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/.gitignore delete mode 100644 vendor/github.com/russross/blackfriday/v2/.travis.yml delete mode 100644 vendor/github.com/russross/blackfriday/v2/LICENSE.txt delete mode 100644 vendor/github.com/russross/blackfriday/v2/README.md delete mode 100644 vendor/github.com/russross/blackfriday/v2/block.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/doc.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/esc.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/go.mod delete mode 100644 vendor/github.com/russross/blackfriday/v2/html.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/inline.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/markdown.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/node.go delete mode 100644 vendor/github.com/russross/blackfriday/v2/smartypants.go delete mode 100644 vendor/github.com/shurcooL/sanitized_anchor_name/.travis.yml delete mode 100644 vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE delete mode 100644 vendor/github.com/shurcooL/sanitized_anchor_name/README.md delete mode 100644 vendor/github.com/shurcooL/sanitized_anchor_name/go.mod delete mode 100644 vendor/github.com/shurcooL/sanitized_anchor_name/main.go delete mode 100644 vendor/github.com/urfave/cli/.flake8 delete mode 100644 vendor/github.com/urfave/cli/.gitignore delete mode 100644 vendor/github.com/urfave/cli/CODE_OF_CONDUCT.md delete mode 100644 vendor/github.com/urfave/cli/LICENSE delete mode 100644 vendor/github.com/urfave/cli/README.md delete mode 100644 vendor/github.com/urfave/cli/app.go delete mode 100644 vendor/github.com/urfave/cli/appveyor.yml delete mode 100644 vendor/github.com/urfave/cli/category.go delete mode 100644 vendor/github.com/urfave/cli/cli.go delete mode 100644 vendor/github.com/urfave/cli/command.go delete mode 100644 vendor/github.com/urfave/cli/context.go delete mode 100644 vendor/github.com/urfave/cli/docs.go delete mode 100644 vendor/github.com/urfave/cli/errors.go delete mode 100644 vendor/github.com/urfave/cli/fish.go delete mode 100644 vendor/github.com/urfave/cli/flag.go delete mode 100644 vendor/github.com/urfave/cli/flag_bool.go delete mode 100644 vendor/github.com/urfave/cli/flag_bool_t.go delete mode 100644 vendor/github.com/urfave/cli/flag_duration.go delete mode 100644 vendor/github.com/urfave/cli/flag_float64.go delete mode 100644 vendor/github.com/urfave/cli/flag_generic.go delete mode 100644 vendor/github.com/urfave/cli/flag_int.go delete mode 100644 vendor/github.com/urfave/cli/flag_int64.go delete mode 100644 vendor/github.com/urfave/cli/flag_int64_slice.go delete mode 100644 vendor/github.com/urfave/cli/flag_int_slice.go delete mode 100644 vendor/github.com/urfave/cli/flag_string.go delete mode 100644 vendor/github.com/urfave/cli/flag_string_slice.go delete mode 100644 vendor/github.com/urfave/cli/flag_uint.go delete mode 100644 vendor/github.com/urfave/cli/flag_uint64.go delete mode 100644 vendor/github.com/urfave/cli/funcs.go delete mode 100644 vendor/github.com/urfave/cli/go.mod delete mode 100644 vendor/github.com/urfave/cli/go.sum delete mode 100644 vendor/github.com/urfave/cli/help.go delete mode 100644 vendor/github.com/urfave/cli/parse.go delete mode 100644 vendor/github.com/urfave/cli/sort.go delete mode 100644 vendor/github.com/urfave/cli/template.go delete mode 100644 vendor/golang.org/x/sys/AUTHORS delete mode 100644 vendor/golang.org/x/sys/CONTRIBUTORS delete mode 100644 vendor/golang.org/x/sys/LICENSE delete mode 100644 vendor/golang.org/x/sys/PATENTS delete mode 100644 vendor/golang.org/x/sys/unix/.gitignore delete mode 100644 vendor/golang.org/x/sys/unix/README.md delete mode 100644 vendor/golang.org/x/sys/unix/affinity_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/aliases.go delete mode 100644 vendor/golang.org/x/sys/unix/asm_aix_ppc64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_darwin_386.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_darwin_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_darwin_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_darwin_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_freebsd_386.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_freebsd_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_386.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_mips64x.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_mipsx.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_riscv64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_linux_s390x.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_netbsd_386.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_netbsd_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_openbsd_386.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_openbsd_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/asm_solaris_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/bluetooth_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/cap_freebsd.go delete mode 100644 vendor/golang.org/x/sys/unix/constants.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_darwin.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_dragonfly.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_freebsd.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_netbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/dev_openbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/dirent.go delete mode 100644 vendor/golang.org/x/sys/unix/endian_big.go delete mode 100644 vendor/golang.org/x/sys/unix/endian_little.go delete mode 100644 vendor/golang.org/x/sys/unix/env_unix.go delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/fcntl.go delete mode 100644 vendor/golang.org/x/sys/unix/fcntl_darwin.go delete mode 100644 vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go delete mode 100644 vendor/golang.org/x/sys/unix/gccgo.go delete mode 100644 vendor/golang.org/x/sys/unix/gccgo_c.c delete mode 100644 vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ioctl.go delete mode 100644 vendor/golang.org/x/sys/unix/mkall.sh delete mode 100644 vendor/golang.org/x/sys/unix/mkerrors.sh delete mode 100644 vendor/golang.org/x/sys/unix/pagesize_unix.go delete mode 100644 vendor/golang.org/x/sys/unix/pledge_openbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/race.go delete mode 100644 vendor/golang.org/x/sys/unix/race0.go delete mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdents.go delete mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdirentries.go delete mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_unix.go delete mode 100644 vendor/golang.org/x/sys/unix/str.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_aix.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_bsd.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_dragonfly.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_s390x.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_netbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_netbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_solaris.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_unix.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_unix_gc.go delete mode 100644 vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go delete mode 100644 vendor/golang.org/x/sys/unix/timestruct.go delete mode 100644 vendor/golang.org/x/sys/unix/unveil_openbsd.go delete mode 100644 vendor/golang.org/x/sys/unix/xattr_bsd.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_darwin_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_mips.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zptrace386_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/zptracearm_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/zptracemips_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/zptracemipsle_linux.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_darwin_386.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_386.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_mips.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go delete mode 100644 vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go delete mode 100644 vendor/modules.txt create mode 100644 www/embed.go diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 74ae939..0000000 --- a/.drone.yml +++ /dev/null @@ -1,34 +0,0 @@ -kind: pipeline -name: default - -steps: - - name: test - image: drailing/go_packr_zip - environment: - GO111MODULE: on - commands: - - go test -mod vendor - - - name: build - image: drailing/go_packr_zip - environment: - GO111MODULE: on - commands: - - pkger - - GOOS=linux GOARCH=amd64 go build -mod vendor -o ${DRONE_REPO_NAME}-${DRONE_TAG}-linux-amd64 - - GOOS=darwin GOARCH=amd64 go build -mod vendor -o ${DRONE_REPO_NAME}-${DRONE_TAG}-darwin-amd64 - - GOOS=windows GOARCH=amd64 go build -mod vendor -o ${DRONE_REPO_NAME}-${DRONE_TAG}-win-amd64.exe - - mkdir release - - zip release/${DRONE_REPO_NAME}-${DRONE_TAG}-linux-amd64.zip ${DRONE_REPO_NAME}-${DRONE_TAG}-linux-amd64 - - zip release/${DRONE_REPO_NAME}-${DRONE_TAG}-darwin-amd64.zip ${DRONE_REPO_NAME}-${DRONE_TAG}-darwin-amd64 - - zip release/${DRONE_REPO_NAME}-${DRONE_TAG}-win-amd64.zip ${DRONE_REPO_NAME}-${DRONE_TAG}-win-amd64.exe - - - name: github_release - image: plugins/github-release - settings: - api_key: - from_secret: github_token - files: - - release/* - when: - event: tag diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..4f4bad7 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,26 @@ + +name: Go + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22' + + - name: Build + run: go build -v . + + - name: Test + run: go test -v . diff --git a/go.mod b/go.mod index 197c72f..84c6521 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,19 @@ module github.com/cdreier/slide-serve -go 1.12 +go 1.22 require ( github.com/alecthomas/chroma v0.7.1 github.com/fsnotify/fsnotify v1.4.9 github.com/gorilla/websocket v1.4.2 - github.com/markbates/pkger v0.15.0 github.com/urfave/cli v1.22.3 ) + +require ( + github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect + github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect + github.com/dlclark/regexp2 v1.1.6 // indirect + github.com/russross/blackfriday/v2 v2.0.1 // indirect + github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect + golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 // indirect +) diff --git a/go.sum b/go.sum index fa06bc0..dac6a9a 100644 --- a/go.sum +++ b/go.sum @@ -13,23 +13,13 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:ma 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/dlclark/regexp2 v1.1.6 h1:CqB4MjHw0MFCDj+PHHjiESmHX+N7t0tJzKvC6M97BRg= github.com/dlclark/regexp2 v1.1.6/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/gobuffalo/here v0.6.0 h1:hYrd0a6gDmWxBM4TnrGw8mQg24iSVoIkHEk7FodQcBI= -github.com/gobuffalo/here v0.6.0/go.mod h1:wAG085dHOYqUpf+Ap+WOdrPTp5IYcDAs/x7PLa8Y5fM= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -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/markbates/pkger v0.15.0 h1:rSXoKLBWBgYG7j/h6Be7kggju23ie1Gx3/va9xl5aUw= -github.com/markbates/pkger v0.15.0/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-isatty v0.0.4 h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= @@ -45,18 +35,11 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5I github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= 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 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/urfave/cli v1.22.3 h1:FpNT6zq26xNpHZy08emi755QwzLPs6Pukqjlc7RfOMU= github.com/urfave/cli v1.22.3/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= golang.org/x/sys v0.0.0-20181128092732-4ed8d59d0b35/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= -gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/main.go b/main.go index 869178e..fbc67ba 100644 --- a/main.go +++ b/main.go @@ -7,15 +7,14 @@ import ( "fmt" "html/template" "io" - "io/ioutil" "log" "net/http" "os" "strconv" "strings" + "github.com/cdreier/slide-serve/www" "github.com/gorilla/websocket" - "github.com/markbates/pkger" "github.com/urfave/cli" ) @@ -101,7 +100,7 @@ func main() { } func copyAllFileToFolderNotIncludeExtension(folder string, dest string, ext string) error { - files, err := ioutil.ReadDir(folder) + files, err := os.ReadDir(folder) if err != nil { return err } @@ -119,11 +118,11 @@ func copyAllFileToFolderNotIncludeExtension(folder string, dest string, ext stri } func copyFile(src, dest string) error { - data, err := ioutil.ReadFile(src) + data, err := os.ReadFile(src) if err != nil { log.Fatal(err) } - return ioutil.WriteFile(dest, data, 0644) + return os.WriteFile(dest, data, 0644) } func export(c *cli.Context) error { @@ -204,8 +203,7 @@ func run(c *cli.Context) error { return http.ListenAndServe(":"+port, nil) } func (h *holder) handle(wr io.Writer, host string) { - slideFile, _ := pkger.Open("/www/slide.html") - t, _ := template.New("slide").Parse(mustFileToString(slideFile)) + t, _ := template.New("slide").Parse(www.Slide) slides := "" styles := h.styles @@ -226,15 +224,15 @@ func (h *holder) handle(wr io.Writer, host string) { } - cssFile, _ := pkger.Open("/www/summaryStyle.css") + cssFile := www.StyleSummary if h.pdfPrint { - cssFile, _ = pkger.Open("/www/pdfStyle.css") + cssFile = www.StylePDF } s := slideContent{ Slides: template.HTML(slides), Styles: template.CSS(styles), - PrintStyle: template.CSS(mustFileToString(cssFile)), + PrintStyle: template.CSS(cssFile), Title: h.title, SlideRatio: h.slideRatio, ClickListener: "", @@ -271,8 +269,7 @@ func (h *holder) handle(wr io.Writer, host string) { } if h.dev { - devModeFile, _ := pkger.Open("/www/devMode.html") - js, _ := template.New("devmode").Parse(mustFileToString(devModeFile)) + js, _ := template.New("devmode").Parse(www.DevMode) var buf bytes.Buffer data := make(map[string]string) data["url"] = "ws://" + host + "/ws" @@ -287,11 +284,6 @@ func (h *holder) handler(w http.ResponseWriter, r *http.Request) { h.handle(w, r.Host) } -func isDir(dir string) bool { - stat, _ := os.Stat(dir) - return stat.IsDir() -} - func dirExist(dir string) bool { _, err := os.Stat(dir) if err == nil { @@ -299,11 +291,3 @@ func dirExist(dir string) bool { } return !os.IsNotExist(err) } - -func mustFileToString(f http.File) string { - content, err := ioutil.ReadAll(f) - if err != nil { - log.Fatal("must read file to string failed: ", err.Error()) - } - return string(content) -} diff --git a/parser.go b/parser.go index 3889979..0ca6841 100644 --- a/parser.go +++ b/parser.go @@ -4,12 +4,9 @@ import ( "bufio" "fmt" "html/template" - "io/ioutil" "os" "path/filepath" "strings" - - "github.com/markbates/pkger" ) type slide struct { @@ -45,31 +42,33 @@ func (h *holder) parse() { // example presentation fmt.Println("serving example presentation") - pkger.Walk("/example", func(path string, info os.FileInfo, err error) error { + // TODO remove pkger in favor of embed - if filepath.Base(path) == "styles.css" { - f, _ := pkger.Open(path) - h.styles += mustFileToString(f) - } + // pkger.Walk("/example", func(path string, info os.FileInfo, err error) error { - if filepath.Ext(path) == ".md" { - f, _ := pkger.Open(path) - h.generateSlides(mustFileToString(f)) - } + // if filepath.Base(path) == "styles.css" { + // f, _ := pkger.Open(path) + // h.styles += mustFileToString(f) + // } - return nil - }) + // if filepath.Ext(path) == ".md" { + // f, _ := pkger.Open(path) + // h.generateSlides(mustFileToString(f)) + // } + + // return nil + // }) } else { // user presentation h.slides = make([]slide, 0) h.styles = "" - filepath.Walk(h.dir, func(path string, info os.FileInfo, err error) error { + filepath.Walk(h.dir, func(path string, info os.FileInfo, _ error) error { if info == nil || info.IsDir() { return nil } // reading all the files, check file ext before reading? - content, err := ioutil.ReadFile(path) + content, err := os.ReadFile(path) if err != nil { fmt.Println("cannot read... skipping ", path) return nil @@ -127,14 +126,14 @@ func (h *holder) generateSlides(content string) { s.image = strings.Replace(tmp, "@img", "", -1) } else if strings.HasPrefix(tmp, "@css") { filename := strings.Replace(tmp, "@css", "", -1) - data, err := ioutil.ReadFile(h.dir + filename) + data, err := os.ReadFile(h.dir + filename) if err == nil { s.styles = string(data) } } else if strings.HasPrefix(tmp, "@js") { filename := strings.Replace(tmp, "@js", "", -1) - data, err := ioutil.ReadFile(h.dir + filename) + data, err := os.ReadFile(h.dir + filename) if err == nil { s.javascript = string(data) } diff --git a/presenter.go b/presenter.go index 2b8cf79..26367cc 100644 --- a/presenter.go +++ b/presenter.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/markbates/pkger" + "github.com/cdreier/slide-serve/www" ) type presenterMsg struct { @@ -45,18 +45,15 @@ func (h *holder) presenterSocket(w http.ResponseWriter, r *http.Request) { } else { log.Println("presenter socker is null") } - break case "prev": if h.presenterCon != nil { h.presenterCon.WriteJSON(presenterMsg{ Type: "requestPrev", }) } - break case "presentation:join": h.presenterCon = connection log.Println("presentation joined") - break } // err = connection.WriteMessage(mt, message) // if err != nil { @@ -67,8 +64,7 @@ func (h *holder) presenterSocket(w http.ResponseWriter, r *http.Request) { } func (h *holder) presenterHandler(w http.ResponseWriter, r *http.Request) { - slideFile, _ := pkger.Open("/www/presenter.html") - t, _ := template.New("slide").Parse(mustFileToString(slideFile)) + t, _ := template.New("slide").Parse(www.Presenter) slides := "" notes := "" @@ -101,8 +97,7 @@ func (h *holder) presenterHandler(w http.ResponseWriter, r *http.Request) { } if h.dev { - devModeFile, _ := pkger.Open("/www/devMode.html") - js, _ := template.New("devmode").Parse(mustFileToString(devModeFile)) + js, _ := template.New("devmode").Parse(www.DevMode) var buf bytes.Buffer data := make(map[string]string) data["url"] = "ws://" + r.Host + "/ws" diff --git a/renderer.go b/renderer.go index a0b1885..a1f29e4 100644 --- a/renderer.go +++ b/renderer.go @@ -30,8 +30,7 @@ func renderSlide(s slide, index int, codeTheme string) string { code += line + "\n" slideMarkup += codeMarker } else if strings.HasPrefix(line, "#") { - var headlinetype int - headlinetype = strings.Index(line, " ") + headlinetype := strings.Index(line, " ") line = strings.TrimLeft(line, "#") line = headline(line, headlinetype) slideMarkup += line @@ -74,8 +73,7 @@ func renderSlide(s slide, index int, codeTheme string) string { } if s.classes != "" { - var classes string - classes = strings.Replace(s.classes, ",", " ", -1) + classes := strings.Replace(s.classes, ",", " ", -1) slideMarkup += fmt.Sprintf(`