├── .github └── workflows │ ├── development.yml │ └── docker.yml ├── .gitignore ├── .golangci.yaml ├── .goreleaser.yml ├── Dockerfile ├── LICENSE ├── README.md ├── bridge ├── bridge.go ├── mastodon │ └── mastodon.go ├── mattermost │ └── mattermost.go └── slack │ ├── slack.go │ └── utils.go ├── changelog.md ├── config └── config.go ├── go.mod ├── go.sum ├── main.go ├── matterircd.service ├── matterircd.toml.example ├── mm-go-irckit ├── LICENSE ├── README.md ├── channel.go ├── commands.go ├── logger.go ├── net.go ├── server.go ├── server_commands.go ├── service.go ├── service_test.go ├── user.go ├── userbridge.go └── utils.go ├── prefixcontext.md ├── tlsutil.go └── vendor ├── github.com ├── alecthomas │ └── chroma │ │ └── v2 │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── .goreleaser.yml │ │ ├── Bitfile │ │ ├── COPYING │ │ ├── Makefile │ │ ├── README.md │ │ ├── coalesce.go │ │ ├── colour.go │ │ ├── delegate.go │ │ ├── doc.go │ │ ├── emitters.go │ │ ├── formatter.go │ │ ├── formatters │ │ ├── api.go │ │ ├── html │ │ │ └── html.go │ │ ├── json.go │ │ ├── svg │ │ │ ├── font_liberation_mono.go │ │ │ └── svg.go │ │ ├── tokens.go │ │ ├── tty_indexed.go │ │ └── tty_truecolour.go │ │ ├── iterator.go │ │ ├── lexer.go │ │ ├── lexers │ │ ├── README.md │ │ ├── caddyfile.go │ │ ├── cl.go │ │ ├── dns.go │ │ ├── emacs.go │ │ ├── embedded │ │ │ ├── abap.xml │ │ │ ├── abnf.xml │ │ │ ├── actionscript.xml │ │ │ ├── actionscript_3.xml │ │ │ ├── ada.xml │ │ │ ├── al.xml │ │ │ ├── angular2.xml │ │ │ ├── antlr.xml │ │ │ ├── apacheconf.xml │ │ │ ├── apl.xml │ │ │ ├── applescript.xml │ │ │ ├── arangodb_aql.xml │ │ │ ├── arduino.xml │ │ │ ├── armasm.xml │ │ │ ├── autohotkey.xml │ │ │ ├── autoit.xml │ │ │ ├── awk.xml │ │ │ ├── ballerina.xml │ │ │ ├── bash.xml │ │ │ ├── bash_session.xml │ │ │ ├── batchfile.xml │ │ │ ├── bibtex.xml │ │ │ ├── bicep.xml │ │ │ ├── blitzbasic.xml │ │ │ ├── bnf.xml │ │ │ ├── bqn.xml │ │ │ ├── brainfuck.xml │ │ │ ├── c#.xml │ │ │ ├── c++.xml │ │ │ ├── c.xml │ │ │ ├── cap_n_proto.xml │ │ │ ├── cassandra_cql.xml │ │ │ ├── ceylon.xml │ │ │ ├── cfengine3.xml │ │ │ ├── cfstatement.xml │ │ │ ├── chaiscript.xml │ │ │ ├── chapel.xml │ │ │ ├── cheetah.xml │ │ │ ├── clojure.xml │ │ │ ├── cmake.xml │ │ │ ├── cobol.xml │ │ │ ├── coffeescript.xml │ │ │ ├── common_lisp.xml │ │ │ ├── coq.xml │ │ │ ├── crystal.xml │ │ │ ├── css.xml │ │ │ ├── cython.xml │ │ │ ├── d.xml │ │ │ ├── dart.xml │ │ │ ├── diff.xml │ │ │ ├── django_jinja.xml │ │ │ ├── dns.xml │ │ │ ├── docker.xml │ │ │ ├── dtd.xml │ │ │ ├── dylan.xml │ │ │ ├── ebnf.xml │ │ │ ├── elixir.xml │ │ │ ├── elm.xml │ │ │ ├── emacslisp.xml │ │ │ ├── erlang.xml │ │ │ ├── factor.xml │ │ │ ├── fennel.xml │ │ │ ├── fish.xml │ │ │ ├── forth.xml │ │ │ ├── fortran.xml │ │ │ ├── fortranfixed.xml │ │ │ ├── fsharp.xml │ │ │ ├── gas.xml │ │ │ ├── gdscript.xml │ │ │ ├── gdscript3.xml │ │ │ ├── gherkin.xml │ │ │ ├── glsl.xml │ │ │ ├── gnuplot.xml │ │ │ ├── go_template.xml │ │ │ ├── graphql.xml │ │ │ ├── groff.xml │ │ │ ├── groovy.xml │ │ │ ├── handlebars.xml │ │ │ ├── haskell.xml │ │ │ ├── hcl.xml │ │ │ ├── hexdump.xml │ │ │ ├── hlb.xml │ │ │ ├── hlsl.xml │ │ │ ├── holyc.xml │ │ │ ├── html.xml │ │ │ ├── hy.xml │ │ │ ├── idris.xml │ │ │ ├── igor.xml │ │ │ ├── ini.xml │ │ │ ├── io.xml │ │ │ ├── iscdhcpd.xml │ │ │ ├── j.xml │ │ │ ├── java.xml │ │ │ ├── javascript.xml │ │ │ ├── json.xml │ │ │ ├── julia.xml │ │ │ ├── jungle.xml │ │ │ ├── kotlin.xml │ │ │ ├── lighttpd_configuration_file.xml │ │ │ ├── llvm.xml │ │ │ ├── lua.xml │ │ │ ├── makefile.xml │ │ │ ├── mako.xml │ │ │ ├── mason.xml │ │ │ ├── mathematica.xml │ │ │ ├── matlab.xml │ │ │ ├── mcfunction.xml │ │ │ ├── meson.xml │ │ │ ├── metal.xml │ │ │ ├── minizinc.xml │ │ │ ├── mlir.xml │ │ │ ├── modula-2.xml │ │ │ ├── monkeyc.xml │ │ │ ├── morrowindscript.xml │ │ │ ├── myghty.xml │ │ │ ├── mysql.xml │ │ │ ├── nasm.xml │ │ │ ├── natural.xml │ │ │ ├── newspeak.xml │ │ │ ├── nginx_configuration_file.xml │ │ │ ├── nim.xml │ │ │ ├── nix.xml │ │ │ ├── objective-c.xml │ │ │ ├── ocaml.xml │ │ │ ├── octave.xml │ │ │ ├── odin.xml │ │ │ ├── onesenterprise.xml │ │ │ ├── openedge_abl.xml │ │ │ ├── openscad.xml │ │ │ ├── org_mode.xml │ │ │ ├── pacmanconf.xml │ │ │ ├── perl.xml │ │ │ ├── php.xml │ │ │ ├── pig.xml │ │ │ ├── pkgconfig.xml │ │ │ ├── pl_pgsql.xml │ │ │ ├── plaintext.xml │ │ │ ├── plutus_core.xml │ │ │ ├── pony.xml │ │ │ ├── postgresql_sql_dialect.xml │ │ │ ├── postscript.xml │ │ │ ├── povray.xml │ │ │ ├── powerquery.xml │ │ │ ├── powershell.xml │ │ │ ├── prolog.xml │ │ │ ├── promql.xml │ │ │ ├── properties.xml │ │ │ ├── protocol_buffer.xml │ │ │ ├── psl.xml │ │ │ ├── puppet.xml │ │ │ ├── python.xml │ │ │ ├── python_2.xml │ │ │ ├── qbasic.xml │ │ │ ├── qml.xml │ │ │ ├── r.xml │ │ │ ├── racket.xml │ │ │ ├── ragel.xml │ │ │ ├── react.xml │ │ │ ├── reasonml.xml │ │ │ ├── reg.xml │ │ │ ├── rexx.xml │ │ │ ├── ruby.xml │ │ │ ├── rust.xml │ │ │ ├── sas.xml │ │ │ ├── sass.xml │ │ │ ├── scala.xml │ │ │ ├── scheme.xml │ │ │ ├── scilab.xml │ │ │ ├── scss.xml │ │ │ ├── sed.xml │ │ │ ├── sieve.xml │ │ │ ├── smali.xml │ │ │ ├── smalltalk.xml │ │ │ ├── smarty.xml │ │ │ ├── snobol.xml │ │ │ ├── solidity.xml │ │ │ ├── sourcepawn.xml │ │ │ ├── sparql.xml │ │ │ ├── sql.xml │ │ │ ├── squidconf.xml │ │ │ ├── standard_ml.xml │ │ │ ├── stas.xml │ │ │ ├── stylus.xml │ │ │ ├── swift.xml │ │ │ ├── systemd.xml │ │ │ ├── systemverilog.xml │ │ │ ├── tablegen.xml │ │ │ ├── tal.xml │ │ │ ├── tasm.xml │ │ │ ├── tcl.xml │ │ │ ├── tcsh.xml │ │ │ ├── termcap.xml │ │ │ ├── terminfo.xml │ │ │ ├── terraform.xml │ │ │ ├── tex.xml │ │ │ ├── thrift.xml │ │ │ ├── toml.xml │ │ │ ├── tradingview.xml │ │ │ ├── transact-sql.xml │ │ │ ├── turing.xml │ │ │ ├── turtle.xml │ │ │ ├── twig.xml │ │ │ ├── typescript.xml │ │ │ ├── typoscript.xml │ │ │ ├── typoscriptcssdata.xml │ │ │ ├── typoscripthtmldata.xml │ │ │ ├── v.xml │ │ │ ├── v_shell.xml │ │ │ ├── vala.xml │ │ │ ├── vb_net.xml │ │ │ ├── verilog.xml │ │ │ ├── vhdl.xml │ │ │ ├── vhs.xml │ │ │ ├── viml.xml │ │ │ ├── vue.xml │ │ │ ├── wdte.xml │ │ │ ├── webgpu_shading_language.xml │ │ │ ├── whiley.xml │ │ │ ├── xml.xml │ │ │ ├── xorg.xml │ │ │ ├── yaml.xml │ │ │ ├── yang.xml │ │ │ ├── z80_assembly.xml │ │ │ ├── zed.xml │ │ │ └── zig.xml │ │ ├── genshi.go │ │ ├── go.go │ │ ├── haxe.go │ │ ├── html.go │ │ ├── http.go │ │ ├── lexers.go │ │ ├── markdown.go │ │ ├── mysql.go │ │ ├── php.go │ │ ├── raku.go │ │ ├── rst.go │ │ ├── svelte.go │ │ ├── typoscript.go │ │ └── zed.go │ │ ├── mutators.go │ │ ├── pygments-lexers.txt │ │ ├── quick │ │ └── quick.go │ │ ├── regexp.go │ │ ├── registry.go │ │ ├── remap.go │ │ ├── serialise.go │ │ ├── style.go │ │ ├── styles │ │ ├── abap.xml │ │ ├── algol.xml │ │ ├── algol_nu.xml │ │ ├── api.go │ │ ├── arduino.xml │ │ ├── autumn.xml │ │ ├── average.xml │ │ ├── base16-snazzy.xml │ │ ├── borland.xml │ │ ├── bw.xml │ │ ├── catppuccin-frappe.xml │ │ ├── catppuccin-latte.xml │ │ ├── catppuccin-macchiato.xml │ │ ├── catppuccin-mocha.xml │ │ ├── colorful.xml │ │ ├── compat.go │ │ ├── doom-one.xml │ │ ├── doom-one2.xml │ │ ├── dracula.xml │ │ ├── emacs.xml │ │ ├── friendly.xml │ │ ├── fruity.xml │ │ ├── github-dark.xml │ │ ├── github.xml │ │ ├── gruvbox-light.xml │ │ ├── gruvbox.xml │ │ ├── hr_high_contrast.xml │ │ ├── hrdark.xml │ │ ├── igor.xml │ │ ├── lovelace.xml │ │ ├── manni.xml │ │ ├── modus-operandi.xml │ │ ├── modus-vivendi.xml │ │ ├── monokai.xml │ │ ├── monokailight.xml │ │ ├── murphy.xml │ │ ├── native.xml │ │ ├── nord.xml │ │ ├── onedark.xml │ │ ├── onesenterprise.xml │ │ ├── paraiso-dark.xml │ │ ├── paraiso-light.xml │ │ ├── pastie.xml │ │ ├── perldoc.xml │ │ ├── pygments.xml │ │ ├── rainbow_dash.xml │ │ ├── rose-pine-dawn.xml │ │ ├── rose-pine-moon.xml │ │ ├── rose-pine.xml │ │ ├── rrt.xml │ │ ├── solarized-dark.xml │ │ ├── solarized-dark256.xml │ │ ├── solarized-light.xml │ │ ├── swapoff.xml │ │ ├── tango.xml │ │ ├── trac.xml │ │ ├── vim.xml │ │ ├── vs.xml │ │ ├── vulcan.xml │ │ ├── witchhazel.xml │ │ ├── xcode-dark.xml │ │ └── xcode.xml │ │ ├── table.py │ │ ├── tokentype_enumer.go │ │ └── types.go ├── blang │ └── semver │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── json.go │ │ ├── package.json │ │ ├── range.go │ │ ├── semver.go │ │ ├── sort.go │ │ └── sql.go ├── davecgh │ └── go-spew │ │ ├── LICENSE │ │ └── spew │ │ ├── bypass.go │ │ ├── bypasssafe.go │ │ ├── common.go │ │ ├── config.go │ │ ├── doc.go │ │ ├── dump.go │ │ ├── format.go │ │ └── spew.go ├── desertbit │ └── timer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── timer.go │ │ └── timers.go ├── dlclark │ └── regexp2 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── ATTRIB │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fastclock.go │ │ ├── match.go │ │ ├── regexp.go │ │ ├── replace.go │ │ ├── runner.go │ │ ├── syntax │ │ ├── charclass.go │ │ ├── code.go │ │ ├── escape.go │ │ ├── fuzz.go │ │ ├── parser.go │ │ ├── prefix.go │ │ ├── replacerdata.go │ │ ├── tree.go │ │ └── writer.go │ │ └── testoutput1 ├── dustin │ └── go-humanize │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.markdown │ │ ├── big.go │ │ ├── bigbytes.go │ │ ├── bytes.go │ │ ├── comma.go │ │ ├── commaf.go │ │ ├── ftoa.go │ │ ├── humanize.go │ │ ├── number.go │ │ ├── ordinals.go │ │ ├── si.go │ │ └── times.go ├── dyatlov │ └── go-opengraph │ │ ├── LICENSE │ │ └── opengraph │ │ └── opengraph.go ├── francoispqt │ └── gojay │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gopkg.lock │ │ ├── Gopkg.toml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── decode.go │ │ ├── decode_array.go │ │ ├── decode_bool.go │ │ ├── decode_embedded_json.go │ │ ├── decode_interface.go │ │ ├── decode_number.go │ │ ├── decode_number_float.go │ │ ├── decode_number_int.go │ │ ├── decode_number_uint.go │ │ ├── decode_object.go │ │ ├── decode_pool.go │ │ ├── decode_slice.go │ │ ├── decode_sqlnull.go │ │ ├── decode_stream.go │ │ ├── decode_stream_pool.go │ │ ├── decode_string.go │ │ ├── decode_string_unicode.go │ │ ├── decode_time.go │ │ ├── decode_unsafe.go │ │ ├── encode.go │ │ ├── encode_array.go │ │ ├── encode_bool.go │ │ ├── encode_builder.go │ │ ├── encode_embedded_json.go │ │ ├── encode_interface.go │ │ ├── encode_null.go │ │ ├── encode_number.go │ │ ├── encode_number_float.go │ │ ├── encode_number_int.go │ │ ├── encode_number_uint.go │ │ ├── encode_object.go │ │ ├── encode_pool.go │ │ ├── encode_slice.go │ │ ├── encode_sqlnull.go │ │ ├── encode_stream.go │ │ ├── encode_stream_pool.go │ │ ├── encode_string.go │ │ ├── encode_time.go │ │ ├── errors.go │ │ ├── gojay.go │ │ └── gojay.png ├── fsnotify │ └── fsnotify │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .mailmap │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── backend_fen.go │ │ ├── backend_inotify.go │ │ ├── backend_kqueue.go │ │ ├── backend_other.go │ │ ├── backend_windows.go │ │ ├── fsnotify.go │ │ ├── mkdoc.zsh │ │ ├── system_bsd.go │ │ └── system_darwin.go ├── go-asn1-ber │ └── asn1-ber │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── ber.go │ │ ├── content_int.go │ │ ├── generalizedTime.go │ │ ├── header.go │ │ ├── identifier.go │ │ ├── length.go │ │ ├── real.go │ │ └── util.go ├── google │ ├── gops │ │ ├── LICENSE │ │ ├── agent │ │ │ ├── agent.go │ │ │ ├── sockopt_reuseport.go │ │ │ └── sockopt_unsupported.go │ │ ├── internal │ │ │ └── internal.go │ │ └── signal │ │ │ └── signal.go │ └── uuid │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dce.go │ │ ├── doc.go │ │ ├── hash.go │ │ ├── marshal.go │ │ ├── node.go │ │ ├── node_js.go │ │ ├── node_net.go │ │ ├── null.go │ │ ├── sql.go │ │ ├── time.go │ │ ├── util.go │ │ ├── uuid.go │ │ ├── version1.go │ │ └── version4.go ├── gorilla │ └── websocket │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── client.go │ │ ├── compression.go │ │ ├── conn.go │ │ ├── doc.go │ │ ├── join.go │ │ ├── json.go │ │ ├── mask.go │ │ ├── mask_safe.go │ │ ├── prepared.go │ │ ├── proxy.go │ │ ├── server.go │ │ ├── tls_handshake.go │ │ ├── tls_handshake_116.go │ │ ├── util.go │ │ └── x_net_proxy.go ├── graph-gophers │ └── graphql-go │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── decode │ │ └── decode.go │ │ ├── errors │ │ ├── errors.go │ │ └── panic_handler.go │ │ ├── graphql.go │ │ ├── id.go │ │ ├── internal │ │ ├── common │ │ │ ├── blockstring.go │ │ │ ├── directive.go │ │ │ ├── lexer.go │ │ │ ├── literals.go │ │ │ ├── types.go │ │ │ └── values.go │ │ ├── exec │ │ │ ├── exec.go │ │ │ ├── packer │ │ │ │ └── packer.go │ │ │ ├── resolvable │ │ │ │ ├── meta.go │ │ │ │ └── resolvable.go │ │ │ ├── selected │ │ │ │ └── selected.go │ │ │ └── subscribe.go │ │ ├── query │ │ │ └── query.go │ │ ├── schema │ │ │ ├── meta.go │ │ │ └── schema.go │ │ └── validation │ │ │ ├── suggestion.go │ │ │ └── validation.go │ │ ├── introspection.go │ │ ├── introspection │ │ └── introspection.go │ │ ├── log │ │ └── log.go │ │ ├── nullable_types.go │ │ ├── subscriptions.go │ │ ├── time.go │ │ ├── trace │ │ ├── trace.go │ │ └── validation_trace.go │ │ └── types │ │ ├── argument.go │ │ ├── directive.go │ │ ├── doc.go │ │ ├── enum.go │ │ ├── extension.go │ │ ├── field.go │ │ ├── fragment.go │ │ ├── input.go │ │ ├── interface.go │ │ ├── object.go │ │ ├── query.go │ │ ├── scalar.go │ │ ├── schema.go │ │ ├── types.go │ │ ├── union.go │ │ ├── value.go │ │ └── variable.go ├── grokify │ └── html-strip-tags-go │ │ ├── .codeclimate.yml │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── PATENTS │ │ ├── README.md │ │ └── strip.go ├── hashicorp │ ├── golang-lru │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── 2q.go │ │ ├── LICENSE │ │ ├── README.md │ │ ├── arc.go │ │ ├── doc.go │ │ ├── lru.go │ │ ├── simplelru │ │ │ ├── lru.go │ │ │ └── lru_interface.go │ │ └── testing.go │ └── hcl │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── decoder.go │ │ ├── hcl.go │ │ ├── hcl │ │ ├── ast │ │ │ ├── ast.go │ │ │ └── walk.go │ │ ├── parser │ │ │ ├── error.go │ │ │ └── parser.go │ │ ├── printer │ │ │ ├── nodes.go │ │ │ └── printer.go │ │ ├── scanner │ │ │ └── scanner.go │ │ ├── strconv │ │ │ └── quote.go │ │ └── token │ │ │ ├── position.go │ │ │ └── token.go │ │ ├── json │ │ ├── parser │ │ │ ├── flatten.go │ │ │ └── parser.go │ │ ├── scanner │ │ │ └── scanner.go │ │ └── token │ │ │ ├── position.go │ │ │ └── token.go │ │ ├── lex.go │ │ └── parse.go ├── jpillora │ └── backoff │ │ ├── LICENSE │ │ ├── README.md │ │ └── backoff.go ├── json-iterator │ └── go │ │ ├── .codecov.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gopkg.lock │ │ ├── Gopkg.toml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── adapter.go │ │ ├── any.go │ │ ├── any_array.go │ │ ├── any_bool.go │ │ ├── any_float.go │ │ ├── any_int32.go │ │ ├── any_int64.go │ │ ├── any_invalid.go │ │ ├── any_nil.go │ │ ├── any_number.go │ │ ├── any_object.go │ │ ├── any_str.go │ │ ├── any_uint32.go │ │ ├── any_uint64.go │ │ ├── build.sh │ │ ├── config.go │ │ ├── fuzzy_mode_convert_table.md │ │ ├── iter.go │ │ ├── iter_array.go │ │ ├── iter_float.go │ │ ├── iter_int.go │ │ ├── iter_object.go │ │ ├── iter_skip.go │ │ ├── iter_skip_sloppy.go │ │ ├── iter_skip_strict.go │ │ ├── iter_str.go │ │ ├── jsoniter.go │ │ ├── pool.go │ │ ├── reflect.go │ │ ├── reflect_array.go │ │ ├── reflect_dynamic.go │ │ ├── reflect_extension.go │ │ ├── reflect_json_number.go │ │ ├── reflect_json_raw_message.go │ │ ├── reflect_map.go │ │ ├── reflect_marshaler.go │ │ ├── reflect_native.go │ │ ├── reflect_optional.go │ │ ├── reflect_slice.go │ │ ├── reflect_struct_decoder.go │ │ ├── reflect_struct_encoder.go │ │ ├── stream.go │ │ ├── stream_float.go │ │ ├── stream_int.go │ │ ├── stream_str.go │ │ └── test.sh ├── klauspost │ ├── compress │ │ ├── LICENSE │ │ └── s2 │ │ │ ├── .gitignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── decode.go │ │ │ ├── decode_amd64.s │ │ │ ├── decode_arm64.s │ │ │ ├── decode_asm.go │ │ │ ├── decode_other.go │ │ │ ├── dict.go │ │ │ ├── encode.go │ │ │ ├── encode_all.go │ │ │ ├── encode_amd64.go │ │ │ ├── encode_best.go │ │ │ ├── encode_better.go │ │ │ ├── encode_go.go │ │ │ ├── encodeblock_amd64.go │ │ │ ├── encodeblock_amd64.s │ │ │ ├── index.go │ │ │ ├── lz4convert.go │ │ │ ├── lz4sconvert.go │ │ │ ├── reader.go │ │ │ ├── s2.go │ │ │ └── writer.go │ └── cpuid │ │ └── v2 │ │ ├── .gitignore │ │ ├── .goreleaser.yml │ │ ├── CONTRIBUTING.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cpuid.go │ │ ├── cpuid_386.s │ │ ├── cpuid_amd64.s │ │ ├── cpuid_arm64.s │ │ ├── detect_arm64.go │ │ ├── detect_ref.go │ │ ├── detect_x86.go │ │ ├── featureid_string.go │ │ ├── os_darwin_arm64.go │ │ ├── os_linux_arm64.go │ │ ├── os_other_arm64.go │ │ ├── os_safe_linux_arm64.go │ │ ├── os_unsafe_linux_arm64.go │ │ └── test-architectures.sh ├── magiconair │ └── properties │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── decode.go │ │ ├── doc.go │ │ ├── integrate.go │ │ ├── lex.go │ │ ├── load.go │ │ ├── parser.go │ │ ├── properties.go │ │ └── rangecheck.go ├── matterbridge │ ├── logrus-prefixed-formatter │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── formatter.go │ └── matterclient │ │ ├── channels.go │ │ ├── matterclient.go │ │ ├── messages.go │ │ └── users.go ├── mattermost │ ├── go-i18n │ │ ├── LICENSE │ │ └── i18n │ │ │ ├── bundle │ │ │ └── bundle.go │ │ │ ├── i18n.go │ │ │ ├── language │ │ │ ├── language.go │ │ │ ├── operands.go │ │ │ ├── plural.go │ │ │ ├── pluralspec.go │ │ │ └── pluralspec_gen.go │ │ │ └── translation │ │ │ ├── plural_translation.go │ │ │ ├── single_translation.go │ │ │ ├── template.go │ │ │ └── translation.go │ ├── ldap │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── add.go │ │ ├── bind.go │ │ ├── client.go │ │ ├── compare.go │ │ ├── conn.go │ │ ├── control.go │ │ ├── debug.go │ │ ├── del.go │ │ ├── dn.go │ │ ├── doc.go │ │ ├── error.go │ │ ├── filter.go │ │ ├── ldap.go │ │ ├── moddn.go │ │ ├── modify.go │ │ ├── passwdmodify.go │ │ ├── request.go │ │ └── search.go │ ├── logr │ │ └── v2 │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── buffer.go │ │ │ ├── config │ │ │ ├── config.go │ │ │ └── sample-config.json │ │ │ ├── const.go │ │ │ ├── field.go │ │ │ ├── fieldapi.go │ │ │ ├── filter.go │ │ │ ├── filtercustom.go │ │ │ ├── filterstd.go │ │ │ ├── formatter.go │ │ │ ├── formatters │ │ │ ├── gelf.go │ │ │ ├── json.go │ │ │ └── plain.go │ │ │ ├── level.go │ │ │ ├── levelcache.go │ │ │ ├── logger.go │ │ │ ├── logr.go │ │ │ ├── logrec.go │ │ │ ├── metrics.go │ │ │ ├── options.go │ │ │ ├── pkg.go │ │ │ ├── stdlogger.go │ │ │ ├── sugar.go │ │ │ ├── target.go │ │ │ ├── targets │ │ │ ├── file.go │ │ │ ├── syslog.go │ │ │ ├── syslog_unsupported.go │ │ │ ├── tcp.go │ │ │ ├── test-tls-client-cert.pem │ │ │ ├── testing.go │ │ │ ├── utils.go │ │ │ └── writer.go │ │ │ └── timeout.go │ └── mattermost-server │ │ └── v6 │ │ ├── LICENSE.txt │ │ ├── NOTICE.txt │ │ ├── model │ │ ├── access.go │ │ ├── analytics_row.go │ │ ├── audit.go │ │ ├── auditconv.go │ │ ├── audits.go │ │ ├── authorize.go │ │ ├── bot.go │ │ ├── builtin.go │ │ ├── bulk_export.go │ │ ├── bundle_info.go │ │ ├── channel.go │ │ ├── channel_count.go │ │ ├── channel_data.go │ │ ├── channel_list.go │ │ ├── channel_member.go │ │ ├── channel_member_history.go │ │ ├── channel_member_history_result.go │ │ ├── channel_mentions.go │ │ ├── channel_search.go │ │ ├── channel_sidebar.go │ │ ├── channel_stats.go │ │ ├── channel_view.go │ │ ├── client4.go │ │ ├── cloud.go │ │ ├── cluster_discovery.go │ │ ├── cluster_info.go │ │ ├── cluster_message.go │ │ ├── cluster_stats.go │ │ ├── command.go │ │ ├── command_args.go │ │ ├── command_autocomplete.go │ │ ├── command_request.go │ │ ├── command_response.go │ │ ├── command_webhook.go │ │ ├── compliance.go │ │ ├── compliance_post.go │ │ ├── config.go │ │ ├── custom_status.go │ │ ├── data_retention_policy.go │ │ ├── emoji.go │ │ ├── emoji_data.go │ │ ├── emoji_search.go │ │ ├── feature_flags.go │ │ ├── file.go │ │ ├── file_info.go │ │ ├── file_info_list.go │ │ ├── file_info_search_results.go │ │ ├── github_release.go │ │ ├── gitlab.go │ │ ├── group.go │ │ ├── group_member.go │ │ ├── group_syncable.go │ │ ├── guest_invite.go │ │ ├── incoming_webhook.go │ │ ├── initial_load.go │ │ ├── insights.go │ │ ├── integration_action.go │ │ ├── integrity.go │ │ ├── job.go │ │ ├── ldap.go │ │ ├── license.go │ │ ├── link_metadata.go │ │ ├── manifest.go │ │ ├── marketplace_plugin.go │ │ ├── member_invite.go │ │ ├── mention_map.go │ │ ├── message_export.go │ │ ├── mfa_secret.go │ │ ├── migration.go │ │ ├── oauth.go │ │ ├── onboarding.go │ │ ├── outgoing_webhook.go │ │ ├── permalink.go │ │ ├── permission.go │ │ ├── plugin_cluster_event.go │ │ ├── plugin_event_data.go │ │ ├── plugin_key_value.go │ │ ├── plugin_kvset_options.go │ │ ├── plugin_on_install_event.go │ │ ├── plugin_status.go │ │ ├── plugin_valid.go │ │ ├── plugins_response.go │ │ ├── post.go │ │ ├── post_embed.go │ │ ├── post_list.go │ │ ├── post_metadata.go │ │ ├── post_search_results.go │ │ ├── preference.go │ │ ├── product_notices.go │ │ ├── push_notification.go │ │ ├── push_response.go │ │ ├── reaction.go │ │ ├── remote_cluster.go │ │ ├── role.go │ │ ├── saml.go │ │ ├── scheduled_task.go │ │ ├── scheme.go │ │ ├── search_params.go │ │ ├── security_bulletin.go │ │ ├── session.go │ │ ├── session_serial_gen.go │ │ ├── shared_channel.go │ │ ├── slack_attachment.go │ │ ├── slack_compatibility.go │ │ ├── status.go │ │ ├── suggest_command.go │ │ ├── switch_request.go │ │ ├── system.go │ │ ├── team.go │ │ ├── team_member.go │ │ ├── team_member_serial_gen.go │ │ ├── team_search.go │ │ ├── team_stats.go │ │ ├── terms_of_service.go │ │ ├── thread.go │ │ ├── token.go │ │ ├── typing_request.go │ │ ├── upload_session.go │ │ ├── user.go │ │ ├── user_access_token.go │ │ ├── user_access_token_search.go │ │ ├── user_autocomplete.go │ │ ├── user_count.go │ │ ├── user_get.go │ │ ├── user_search.go │ │ ├── user_serial_gen.go │ │ ├── user_terms_of_service.go │ │ ├── users_stats.go │ │ ├── utils.go │ │ ├── version.go │ │ ├── websocket_client.go │ │ ├── websocket_message.go │ │ └── websocket_request.go │ │ ├── services │ │ └── timezones │ │ │ ├── default.go │ │ │ └── timezones.go │ │ ├── shared │ │ ├── filestore │ │ │ ├── filesstore.go │ │ │ ├── localstore.go │ │ │ ├── s3_overrides.go │ │ │ └── s3store.go │ │ ├── i18n │ │ │ └── i18n.go │ │ ├── markdown │ │ │ ├── autolink.go │ │ │ ├── block_quote.go │ │ │ ├── blocks.go │ │ │ ├── document.go │ │ │ ├── fenced_code.go │ │ │ ├── html.go │ │ │ ├── html_entities.go │ │ │ ├── indented_code.go │ │ │ ├── inlines.go │ │ │ ├── inspect.go │ │ │ ├── lines.go │ │ │ ├── links.go │ │ │ ├── list.go │ │ │ ├── markdown.go │ │ │ ├── paragraph.go │ │ │ └── reference_definition.go │ │ └── mlog │ │ │ ├── default.go │ │ │ ├── global.go │ │ │ ├── graphql.go │ │ │ ├── levels.go │ │ │ ├── mlog.go │ │ │ ├── options.go │ │ │ └── tlog.go │ │ └── utils │ │ └── jsonutils │ │ └── json.go ├── mattn │ ├── go-colorable │ │ ├── LICENSE │ │ ├── README.md │ │ ├── colorable_appengine.go │ │ ├── colorable_others.go │ │ ├── colorable_windows.go │ │ ├── go.test.sh │ │ └── noncolorable.go │ ├── go-isatty │ │ ├── LICENSE │ │ ├── README.md │ │ ├── doc.go │ │ ├── go.test.sh │ │ ├── isatty_bsd.go │ │ ├── isatty_others.go │ │ ├── isatty_plan9.go │ │ ├── isatty_solaris.go │ │ ├── isatty_tcgets.go │ │ └── isatty_windows.go │ ├── go-mastodon │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── accounts.go │ │ ├── apps.go │ │ ├── compat.go │ │ ├── filters.go │ │ ├── go.test.sh │ │ ├── helper.go │ │ ├── instance.go │ │ ├── lists.go │ │ ├── mastodon.go │ │ ├── notification.go │ │ ├── polls.go │ │ ├── report.go │ │ ├── status.go │ │ ├── streaming.go │ │ ├── streaming_ws.go │ │ └── unixtime.go │ └── go-runewidth │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── go.test.sh │ │ ├── runewidth.go │ │ ├── runewidth_appengine.go │ │ ├── runewidth_js.go │ │ ├── runewidth_posix.go │ │ ├── runewidth_table.go │ │ └── runewidth_windows.go ├── mgutz │ └── ansi │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── ansi.go │ │ ├── doc.go │ │ └── print.go ├── minio │ ├── md5-simd │ │ ├── LICENSE │ │ ├── LICENSE.Golang │ │ ├── README.md │ │ ├── block16_amd64.s │ │ ├── block8_amd64.s │ │ ├── block_amd64.go │ │ ├── md5-digest_amd64.go │ │ ├── md5-server_amd64.go │ │ ├── md5-server_fallback.go │ │ ├── md5-util_amd64.go │ │ ├── md5.go │ │ ├── md5block_amd64.go │ │ └── md5block_amd64.s │ ├── minio-go │ │ └── v7 │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── CNAME │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── MAINTAINERS.md │ │ │ ├── Makefile │ │ │ ├── NOTICE │ │ │ ├── README.md │ │ │ ├── README_zh_CN.md │ │ │ ├── api-bucket-encryption.go │ │ │ ├── api-bucket-lifecycle.go │ │ │ ├── api-bucket-notification.go │ │ │ ├── api-bucket-policy.go │ │ │ ├── api-bucket-replication.go │ │ │ ├── api-bucket-tagging.go │ │ │ ├── api-bucket-versioning.go │ │ │ ├── api-compose-object.go │ │ │ ├── api-copy-object.go │ │ │ ├── api-datatypes.go │ │ │ ├── api-error-response.go │ │ │ ├── api-get-object-acl.go │ │ │ ├── api-get-object-file.go │ │ │ ├── api-get-object.go │ │ │ ├── api-get-options.go │ │ │ ├── api-list.go │ │ │ ├── api-object-legal-hold.go │ │ │ ├── api-object-lock.go │ │ │ ├── api-object-retention.go │ │ │ ├── api-object-tagging.go │ │ │ ├── api-presigned.go │ │ │ ├── api-put-bucket.go │ │ │ ├── api-put-object-common.go │ │ │ ├── api-put-object-file-context.go │ │ │ ├── api-put-object-multipart.go │ │ │ ├── api-put-object-streaming.go │ │ │ ├── api-put-object.go │ │ │ ├── api-putobject-snowball.go │ │ │ ├── api-remove.go │ │ │ ├── api-restore.go │ │ │ ├── api-s3-datatypes.go │ │ │ ├── api-select.go │ │ │ ├── api-stat.go │ │ │ ├── api.go │ │ │ ├── bucket-cache.go │ │ │ ├── code_of_conduct.md │ │ │ ├── constants.go │ │ │ ├── core.go │ │ │ ├── functional_tests.go │ │ │ ├── hook-reader.go │ │ │ ├── pkg │ │ │ ├── credentials │ │ │ │ ├── assume_role.go │ │ │ │ ├── chain.go │ │ │ │ ├── config.json.sample │ │ │ │ ├── credentials.go │ │ │ │ ├── credentials.sample │ │ │ │ ├── doc.go │ │ │ │ ├── env_aws.go │ │ │ │ ├── env_minio.go │ │ │ │ ├── error_response.go │ │ │ │ ├── file_aws_credentials.go │ │ │ │ ├── file_minio_client.go │ │ │ │ ├── iam_aws.go │ │ │ │ ├── signature_type.go │ │ │ │ ├── static.go │ │ │ │ ├── sts_client_grants.go │ │ │ │ ├── sts_ldap_identity.go │ │ │ │ ├── sts_tls_identity.go │ │ │ │ └── sts_web_identity.go │ │ │ ├── encrypt │ │ │ │ └── server-side.go │ │ │ ├── lifecycle │ │ │ │ └── lifecycle.go │ │ │ ├── notification │ │ │ │ ├── info.go │ │ │ │ └── notification.go │ │ │ ├── replication │ │ │ │ └── replication.go │ │ │ ├── s3utils │ │ │ │ └── utils.go │ │ │ ├── set │ │ │ │ └── stringset.go │ │ │ ├── signer │ │ │ │ ├── request-signature-streaming.go │ │ │ │ ├── request-signature-v2.go │ │ │ │ ├── request-signature-v4.go │ │ │ │ └── utils.go │ │ │ ├── sse │ │ │ │ └── sse.go │ │ │ └── tags │ │ │ │ └── tags.go │ │ │ ├── post-policy.go │ │ │ ├── retry-continous.go │ │ │ ├── retry.go │ │ │ ├── s3-endpoints.go │ │ │ ├── s3-error.go │ │ │ ├── transport.go │ │ │ └── utils.go │ └── sha256-simd │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cpuid_other.go │ │ ├── sha256.go │ │ ├── sha256blockAvx512_amd64.asm │ │ ├── sha256blockAvx512_amd64.go │ │ ├── sha256blockAvx512_amd64.s │ │ ├── sha256blockSha_amd64.go │ │ ├── sha256blockSha_amd64.s │ │ ├── sha256block_amd64.go │ │ ├── sha256block_arm64.go │ │ ├── sha256block_arm64.s │ │ ├── sha256block_other.go │ │ └── test-architectures.sh ├── mitchellh │ ├── go-homedir │ │ ├── LICENSE │ │ ├── README.md │ │ └── homedir.go │ └── mapstructure │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── decode_hooks.go │ │ ├── error.go │ │ └── mapstructure.go ├── modern-go │ ├── concurrent │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── executor.go │ │ ├── go_above_19.go │ │ ├── go_below_19.go │ │ ├── log.go │ │ ├── test.sh │ │ └── unbounded_executor.go │ └── reflect2 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gopkg.lock │ │ ├── Gopkg.toml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── go_above_118.go │ │ ├── go_above_19.go │ │ ├── go_below_118.go │ │ ├── reflect2.go │ │ ├── reflect2_amd64.s │ │ ├── reflect2_kind.go │ │ ├── relfect2_386.s │ │ ├── relfect2_amd64p32.s │ │ ├── relfect2_arm.s │ │ ├── relfect2_arm64.s │ │ ├── relfect2_mips64x.s │ │ ├── relfect2_mipsx.s │ │ ├── relfect2_ppc64x.s │ │ ├── relfect2_s390x.s │ │ ├── safe_field.go │ │ ├── safe_map.go │ │ ├── safe_slice.go │ │ ├── safe_struct.go │ │ ├── safe_type.go │ │ ├── type_map.go │ │ ├── unsafe_array.go │ │ ├── unsafe_eface.go │ │ ├── unsafe_field.go │ │ ├── unsafe_iface.go │ │ ├── unsafe_link.go │ │ ├── unsafe_map.go │ │ ├── unsafe_ptr.go │ │ ├── unsafe_slice.go │ │ ├── unsafe_struct.go │ │ └── unsafe_type.go ├── muesli │ └── reflow │ │ ├── LICENSE │ │ ├── ansi │ │ ├── ansi.go │ │ ├── buffer.go │ │ └── writer.go │ │ └── wordwrap │ │ └── wordwrap.go ├── opentracing │ └── opentracing-go │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── ext.go │ │ ├── ext │ │ ├── field.go │ │ └── tags.go │ │ ├── globaltracer.go │ │ ├── gocontext.go │ │ ├── log │ │ ├── field.go │ │ └── util.go │ │ ├── noop.go │ │ ├── propagation.go │ │ ├── span.go │ │ └── tracer.go ├── pborman │ └── uuid │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dce.go │ │ ├── doc.go │ │ ├── hash.go │ │ ├── marshal.go │ │ ├── node.go │ │ ├── sql.go │ │ ├── time.go │ │ ├── util.go │ │ ├── uuid.go │ │ ├── version1.go │ │ └── version4.go ├── pelletier │ └── go-toml │ │ ├── .dockerignore │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── Dockerfile │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ ├── README.md │ │ ├── SECURITY.md │ │ ├── azure-pipelines.yml │ │ ├── benchmark.sh │ │ ├── doc.go │ │ ├── example-crlf.toml │ │ ├── example.toml │ │ ├── fuzz.go │ │ ├── fuzz.sh │ │ ├── keysparsing.go │ │ ├── lexer.go │ │ ├── localtime.go │ │ ├── marshal.go │ │ ├── marshal_OrderPreserve_test.toml │ │ ├── marshal_test.toml │ │ ├── parser.go │ │ ├── position.go │ │ ├── token.go │ │ ├── toml.go │ │ ├── tomlpub.go │ │ ├── tomltree_create.go │ │ ├── tomltree_write.go │ │ ├── tomltree_writepub.go │ │ └── v2 │ │ ├── .dockerignore │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .golangci.toml │ │ ├── .goreleaser.yaml │ │ ├── CONTRIBUTING.md │ │ ├── Dockerfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── SECURITY.md │ │ ├── ci.sh │ │ ├── decode.go │ │ ├── doc.go │ │ ├── errors.go │ │ ├── internal │ │ ├── characters │ │ │ ├── ascii.go │ │ │ └── utf8.go │ │ ├── danger │ │ │ ├── danger.go │ │ │ └── typeid.go │ │ └── tracker │ │ │ ├── key.go │ │ │ ├── seen.go │ │ │ └── tracker.go │ │ ├── localtime.go │ │ ├── marshaler.go │ │ ├── strict.go │ │ ├── toml.abnf │ │ ├── types.go │ │ ├── unmarshaler.go │ │ └── unstable │ │ ├── ast.go │ │ ├── builder.go │ │ ├── doc.go │ │ ├── kind.go │ │ ├── parser.go │ │ └── scanner.go ├── philhofer │ └── fwd │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── reader.go │ │ ├── writer.go │ │ ├── writer_appengine.go │ │ └── writer_unsafe.go ├── pkg │ └── errors │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── errors.go │ │ ├── go113.go │ │ └── stack.go ├── pmezard │ └── go-difflib │ │ ├── LICENSE │ │ └── difflib │ │ └── difflib.go ├── rivo │ └── uniseg │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── doc.go │ │ ├── grapheme.go │ │ └── properties.go ├── rs │ └── xid │ │ ├── .appveyor.yml │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── error.go │ │ ├── hostid_darwin.go │ │ ├── hostid_fallback.go │ │ ├── hostid_freebsd.go │ │ ├── hostid_linux.go │ │ ├── hostid_windows.go │ │ └── id.go ├── sagikazarmark │ ├── locafero │ │ ├── .editorconfig │ │ ├── .envrc │ │ ├── .gitignore │ │ ├── .golangci.yaml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── file_type.go │ │ ├── finder.go │ │ ├── flake.lock │ │ ├── flake.nix │ │ ├── helpers.go │ │ └── justfile │ └── slog-shim │ │ ├── .editorconfig │ │ ├── .envrc │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── attr.go │ │ ├── attr_120.go │ │ ├── flake.lock │ │ ├── flake.nix │ │ ├── handler.go │ │ ├── handler_120.go │ │ ├── json_handler.go │ │ ├── json_handler_120.go │ │ ├── level.go │ │ ├── level_120.go │ │ ├── logger.go │ │ ├── logger_120.go │ │ ├── record.go │ │ ├── record_120.go │ │ ├── text_handler.go │ │ ├── text_handler_120.go │ │ ├── value.go │ │ └── value_120.go ├── sirupsen │ └── logrus │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── alt_exit.go │ │ ├── appveyor.yml │ │ ├── buffer_pool.go │ │ ├── doc.go │ │ ├── entry.go │ │ ├── exported.go │ │ ├── formatter.go │ │ ├── hooks.go │ │ ├── json_formatter.go │ │ ├── logger.go │ │ ├── logrus.go │ │ ├── terminal_check_appengine.go │ │ ├── terminal_check_bsd.go │ │ ├── terminal_check_js.go │ │ ├── terminal_check_no_terminal.go │ │ ├── terminal_check_notappengine.go │ │ ├── terminal_check_solaris.go │ │ ├── terminal_check_unix.go │ │ ├── terminal_check_windows.go │ │ ├── text_formatter.go │ │ └── writer.go ├── slack-go │ └── slack │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── TODO.txt │ │ ├── admin.go │ │ ├── apps.go │ │ ├── attachments.go │ │ ├── audit.go │ │ ├── auth.go │ │ ├── block.go │ │ ├── block_action.go │ │ ├── block_context.go │ │ ├── block_conv.go │ │ ├── block_divider.go │ │ ├── block_element.go │ │ ├── block_file.go │ │ ├── block_header.go │ │ ├── block_image.go │ │ ├── block_input.go │ │ ├── block_object.go │ │ ├── block_rich_text.go │ │ ├── block_section.go │ │ ├── block_unknown.go │ │ ├── bookmarks.go │ │ ├── bots.go │ │ ├── channels.go │ │ ├── chat.go │ │ ├── comment.go │ │ ├── conversation.go │ │ ├── dialog.go │ │ ├── dialog_select.go │ │ ├── dialog_text.go │ │ ├── dnd.go │ │ ├── emoji.go │ │ ├── errors.go │ │ ├── files.go │ │ ├── groups.go │ │ ├── history.go │ │ ├── im.go │ │ ├── info.go │ │ ├── interactions.go │ │ ├── internal │ │ ├── backoff │ │ │ └── backoff.go │ │ ├── errorsx │ │ │ └── errorsx.go │ │ └── timex │ │ │ └── timex.go │ │ ├── item.go │ │ ├── logger.go │ │ ├── logo.png │ │ ├── manifests.go │ │ ├── messageID.go │ │ ├── messages.go │ │ ├── metadata.go │ │ ├── misc.go │ │ ├── oauth.go │ │ ├── pagination.go │ │ ├── pins.go │ │ ├── reactions.go │ │ ├── reminders.go │ │ ├── remotefiles.go │ │ ├── rtm.go │ │ ├── search.go │ │ ├── security.go │ │ ├── slack.go │ │ ├── slackutilsx │ │ └── slackutilsx.go │ │ ├── slash.go │ │ ├── socket_mode.go │ │ ├── stars.go │ │ ├── status_code_error.go │ │ ├── team.go │ │ ├── tokens.go │ │ ├── usergroups.go │ │ ├── users.go │ │ ├── views.go │ │ ├── webhooks.go │ │ ├── websocket.go │ │ ├── websocket_channels.go │ │ ├── websocket_desktop_notification.go │ │ ├── websocket_dm.go │ │ ├── websocket_dnd.go │ │ ├── websocket_files.go │ │ ├── websocket_groups.go │ │ ├── websocket_internals.go │ │ ├── websocket_managed_conn.go │ │ ├── websocket_misc.go │ │ ├── websocket_mobile_in_app_notification.go │ │ ├── websocket_pins.go │ │ ├── websocket_reactions.go │ │ ├── websocket_stars.go │ │ ├── websocket_subteam.go │ │ ├── websocket_teams.go │ │ ├── workflow_step.go │ │ └── workflow_step_execute.go ├── sorcix │ └── irc │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── constants.go │ │ ├── doc.go │ │ ├── message.go │ │ ├── stream.go │ │ ├── strings.go │ │ └── strings_legacy.go ├── sourcegraph │ └── conc │ │ ├── .golangci.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── internal │ │ └── multierror │ │ │ ├── multierror_go119.go │ │ │ └── multierror_go120.go │ │ ├── iter │ │ ├── iter.go │ │ └── map.go │ │ ├── panics │ │ ├── panics.go │ │ └── try.go │ │ └── waitgroup.go ├── spf13 │ ├── afero │ │ ├── .gitignore │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── afero.go │ │ ├── appveyor.yml │ │ ├── basepath.go │ │ ├── cacheOnReadFs.go │ │ ├── const_bsds.go │ │ ├── const_win_unix.go │ │ ├── copyOnWriteFs.go │ │ ├── httpFs.go │ │ ├── internal │ │ │ └── common │ │ │ │ └── adapters.go │ │ ├── iofs.go │ │ ├── ioutil.go │ │ ├── lstater.go │ │ ├── match.go │ │ ├── mem │ │ │ ├── dir.go │ │ │ ├── dirmap.go │ │ │ └── file.go │ │ ├── memmap.go │ │ ├── os.go │ │ ├── path.go │ │ ├── readonlyfs.go │ │ ├── regexpfs.go │ │ ├── symlink.go │ │ ├── unionFile.go │ │ └── util.go │ ├── cast │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── cast.go │ │ ├── caste.go │ │ └── timeformattype_string.go │ ├── pflag │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bool.go │ │ ├── bool_slice.go │ │ ├── bytes.go │ │ ├── count.go │ │ ├── duration.go │ │ ├── duration_slice.go │ │ ├── flag.go │ │ ├── float32.go │ │ ├── float32_slice.go │ │ ├── float64.go │ │ ├── float64_slice.go │ │ ├── golangflag.go │ │ ├── int.go │ │ ├── int16.go │ │ ├── int32.go │ │ ├── int32_slice.go │ │ ├── int64.go │ │ ├── int64_slice.go │ │ ├── int8.go │ │ ├── int_slice.go │ │ ├── ip.go │ │ ├── ip_slice.go │ │ ├── ipmask.go │ │ ├── ipnet.go │ │ ├── string.go │ │ ├── string_array.go │ │ ├── string_slice.go │ │ ├── string_to_int.go │ │ ├── string_to_int64.go │ │ ├── string_to_string.go │ │ ├── uint.go │ │ ├── uint16.go │ │ ├── uint32.go │ │ ├── uint64.go │ │ ├── uint8.go │ │ └── uint_slice.go │ └── viper │ │ ├── .editorconfig │ │ ├── .envrc │ │ ├── .gitignore │ │ ├── .golangci.yaml │ │ ├── .yamlignore │ │ ├── .yamllint.yaml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── TROUBLESHOOTING.md │ │ ├── flags.go │ │ ├── flake.lock │ │ ├── flake.nix │ │ ├── internal │ │ └── encoding │ │ │ ├── decoder.go │ │ │ ├── dotenv │ │ │ ├── codec.go │ │ │ └── map_utils.go │ │ │ ├── encoder.go │ │ │ ├── error.go │ │ │ ├── hcl │ │ │ └── codec.go │ │ │ ├── ini │ │ │ ├── codec.go │ │ │ └── map_utils.go │ │ │ ├── javaproperties │ │ │ ├── codec.go │ │ │ └── map_utils.go │ │ │ ├── json │ │ │ └── codec.go │ │ │ ├── toml │ │ │ └── codec.go │ │ │ └── yaml │ │ │ └── codec.go │ │ ├── logger.go │ │ ├── util.go │ │ ├── viper.go │ │ ├── viper_go1_15.go │ │ ├── viper_go1_16.go │ │ ├── watch.go │ │ └── watch_unsupported.go ├── stretchr │ └── testify │ │ ├── LICENSE │ │ └── assert │ │ ├── assertion_compare.go │ │ ├── assertion_compare_can_convert.go │ │ ├── assertion_compare_legacy.go │ │ ├── assertion_format.go │ │ ├── assertion_format.go.tmpl │ │ ├── assertion_forward.go │ │ ├── assertion_forward.go.tmpl │ │ ├── assertion_order.go │ │ ├── assertions.go │ │ ├── doc.go │ │ ├── errors.go │ │ ├── forward_assertions.go │ │ └── http_assertions.go ├── subosito │ └── gotenv │ │ ├── .env │ │ ├── .env.invalid │ │ ├── .gitignore │ │ ├── .golangci.yaml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ └── gotenv.go ├── tinylib │ └── msgp │ │ ├── LICENSE │ │ └── msgp │ │ ├── advise_linux.go │ │ ├── advise_other.go │ │ ├── circular.go │ │ ├── defs.go │ │ ├── edit.go │ │ ├── elsize.go │ │ ├── errors.go │ │ ├── extension.go │ │ ├── file.go │ │ ├── file_port.go │ │ ├── integers.go │ │ ├── json.go │ │ ├── json_bytes.go │ │ ├── number.go │ │ ├── purego.go │ │ ├── read.go │ │ ├── read_bytes.go │ │ ├── size.go │ │ ├── unsafe.go │ │ ├── write.go │ │ └── write_bytes.go ├── tomnomnom │ └── linkheader │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.mkd │ │ ├── LICENSE │ │ ├── README.mkd │ │ └── main.go ├── vmihailenco │ ├── msgpack │ │ └── v5 │ │ │ ├── .prettierrc │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── commitlint.config.js │ │ │ ├── decode.go │ │ │ ├── decode_map.go │ │ │ ├── decode_number.go │ │ │ ├── decode_query.go │ │ │ ├── decode_slice.go │ │ │ ├── decode_string.go │ │ │ ├── decode_value.go │ │ │ ├── encode.go │ │ │ ├── encode_map.go │ │ │ ├── encode_number.go │ │ │ ├── encode_slice.go │ │ │ ├── encode_value.go │ │ │ ├── ext.go │ │ │ ├── intern.go │ │ │ ├── msgpack.go │ │ │ ├── msgpcode │ │ │ └── msgpcode.go │ │ │ ├── package.json │ │ │ ├── safe.go │ │ │ ├── time.go │ │ │ ├── types.go │ │ │ ├── unsafe.go │ │ │ └── version.go │ └── tagparser │ │ └── v2 │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── internal │ │ ├── parser │ │ │ └── parser.go │ │ ├── safe.go │ │ └── unsafe.go │ │ └── tagparser.go └── wiggin77 │ ├── merror │ ├── .gitignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── format.go │ └── merror.go │ └── srslog │ ├── .gitignore │ ├── .travis.yml │ ├── CODE_OF_CONDUCT.md │ ├── LICENSE │ ├── README.md │ ├── constants.go │ ├── dialer.go │ ├── formatter.go │ ├── framer.go │ ├── logger.go │ ├── net_conn.go │ ├── srslog.go │ ├── srslog_unix.go │ └── writer.go ├── go.etcd.io └── bbolt │ ├── .gitignore │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bolt_386.go │ ├── bolt_amd64.go │ ├── bolt_arm.go │ ├── bolt_arm64.go │ ├── bolt_linux.go │ ├── bolt_loong64.go │ ├── bolt_mips64x.go │ ├── bolt_mipsx.go │ ├── bolt_openbsd.go │ ├── bolt_ppc.go │ ├── bolt_ppc64.go │ ├── bolt_ppc64le.go │ ├── bolt_riscv64.go │ ├── bolt_s390x.go │ ├── bolt_unix.go │ ├── bolt_unix_aix.go │ ├── bolt_unix_solaris.go │ ├── bolt_windows.go │ ├── boltsync_unix.go │ ├── bucket.go │ ├── compact.go │ ├── cursor.go │ ├── db.go │ ├── doc.go │ ├── errors.go │ ├── freelist.go │ ├── freelist_hmap.go │ ├── mlock_unix.go │ ├── mlock_windows.go │ ├── node.go │ ├── page.go │ ├── tx.go │ ├── tx_check.go │ └── unsafe.go ├── go.uber.org ├── atomic │ ├── .codecov.yml │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── Makefile │ ├── README.md │ ├── bool.go │ ├── bool_ext.go │ ├── doc.go │ ├── duration.go │ ├── duration_ext.go │ ├── error.go │ ├── error_ext.go │ ├── float64.go │ ├── float64_ext.go │ ├── gen.go │ ├── int32.go │ ├── int64.go │ ├── nocmp.go │ ├── string.go │ ├── string_ext.go │ ├── time.go │ ├── time_ext.go │ ├── uint32.go │ ├── uint64.go │ ├── uintptr.go │ ├── unsafe_pointer.go │ └── value.go └── multierr │ ├── .codecov.yml │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── Makefile │ ├── README.md │ ├── error.go │ └── glide.yaml ├── golang.org └── x │ ├── crypto │ ├── LICENSE │ ├── PATENTS │ ├── argon2 │ │ ├── argon2.go │ │ ├── blake2b.go │ │ ├── blamka_amd64.go │ │ ├── blamka_amd64.s │ │ ├── blamka_generic.go │ │ └── blamka_ref.go │ ├── bcrypt │ │ ├── base64.go │ │ └── bcrypt.go │ ├── blake2b │ │ ├── blake2b.go │ │ ├── blake2bAVX2_amd64.go │ │ ├── blake2bAVX2_amd64.s │ │ ├── blake2b_amd64.go │ │ ├── blake2b_amd64.s │ │ ├── blake2b_generic.go │ │ ├── blake2b_ref.go │ │ ├── blake2x.go │ │ └── register.go │ ├── blowfish │ │ ├── block.go │ │ ├── cipher.go │ │ └── const.go │ ├── pbkdf2 │ │ └── pbkdf2.go │ ├── scrypt │ │ └── scrypt.go │ └── ssh │ │ └── terminal │ │ └── terminal.go │ ├── exp │ ├── LICENSE │ ├── PATENTS │ ├── constraints │ │ └── constraints.go │ ├── slices │ │ ├── cmp.go │ │ ├── slices.go │ │ ├── sort.go │ │ ├── zsortanyfunc.go │ │ └── zsortordered.go │ └── slog │ │ ├── attr.go │ │ ├── doc.go │ │ ├── handler.go │ │ ├── internal │ │ ├── buffer │ │ │ └── buffer.go │ │ └── ignorepc.go │ │ ├── json_handler.go │ │ ├── level.go │ │ ├── logger.go │ │ ├── noplog.bench │ │ ├── record.go │ │ ├── text_handler.go │ │ ├── value.go │ │ ├── value_119.go │ │ └── value_120.go │ ├── net │ ├── LICENSE │ ├── PATENTS │ ├── html │ │ ├── atom │ │ │ ├── atom.go │ │ │ └── table.go │ │ ├── const.go │ │ ├── doc.go │ │ ├── doctype.go │ │ ├── entity.go │ │ ├── escape.go │ │ ├── foreign.go │ │ ├── node.go │ │ ├── parse.go │ │ ├── render.go │ │ └── token.go │ ├── http │ │ └── httpguts │ │ │ ├── guts.go │ │ │ └── httplex.go │ ├── idna │ │ ├── go118.go │ │ ├── idna10.0.0.go │ │ ├── idna9.0.0.go │ │ ├── pre_go118.go │ │ ├── punycode.go │ │ ├── tables10.0.0.go │ │ ├── tables11.0.0.go │ │ ├── tables12.0.0.go │ │ ├── tables13.0.0.go │ │ ├── tables15.0.0.go │ │ ├── tables9.0.0.go │ │ ├── trie.go │ │ ├── trie12.0.0.go │ │ ├── trie13.0.0.go │ │ └── trieval.go │ └── publicsuffix │ │ ├── data │ │ ├── children │ │ ├── nodes │ │ └── text │ │ ├── list.go │ │ └── table.go │ ├── sys │ ├── LICENSE │ ├── PATENTS │ ├── cpu │ │ ├── asm_aix_ppc64.s │ │ ├── byteorder.go │ │ ├── cpu.go │ │ ├── cpu_aix.go │ │ ├── cpu_arm.go │ │ ├── cpu_arm64.go │ │ ├── cpu_arm64.s │ │ ├── cpu_gc_arm64.go │ │ ├── cpu_gc_s390x.go │ │ ├── cpu_gc_x86.go │ │ ├── cpu_gccgo_arm64.go │ │ ├── cpu_gccgo_s390x.go │ │ ├── cpu_gccgo_x86.c │ │ ├── cpu_gccgo_x86.go │ │ ├── cpu_linux.go │ │ ├── cpu_linux_arm.go │ │ ├── cpu_linux_arm64.go │ │ ├── cpu_linux_mips64x.go │ │ ├── cpu_linux_noinit.go │ │ ├── cpu_linux_ppc64x.go │ │ ├── cpu_linux_s390x.go │ │ ├── cpu_loong64.go │ │ ├── cpu_mips64x.go │ │ ├── cpu_mipsx.go │ │ ├── cpu_netbsd_arm64.go │ │ ├── cpu_openbsd_arm64.go │ │ ├── cpu_openbsd_arm64.s │ │ ├── cpu_other_arm.go │ │ ├── cpu_other_arm64.go │ │ ├── cpu_other_mips64x.go │ │ ├── cpu_other_ppc64x.go │ │ ├── cpu_other_riscv64.go │ │ ├── cpu_ppc64x.go │ │ ├── cpu_riscv64.go │ │ ├── cpu_s390x.go │ │ ├── cpu_s390x.s │ │ ├── cpu_wasm.go │ │ ├── cpu_x86.go │ │ ├── cpu_x86.s │ │ ├── cpu_zos.go │ │ ├── cpu_zos_s390x.go │ │ ├── endian_big.go │ │ ├── endian_little.go │ │ ├── hwcap_linux.go │ │ ├── parse.go │ │ ├── proc_cpuinfo_linux.go │ │ ├── runtime_auxv.go │ │ ├── runtime_auxv_go121.go │ │ ├── syscall_aix_gccgo.go │ │ └── syscall_aix_ppc64_gc.go │ ├── internal │ │ └── unsafeheader │ │ │ └── unsafeheader.go │ ├── plan9 │ │ ├── asm.s │ │ ├── asm_plan9_386.s │ │ ├── asm_plan9_amd64.s │ │ ├── asm_plan9_arm.s │ │ ├── const_plan9.go │ │ ├── dir_plan9.go │ │ ├── env_plan9.go │ │ ├── errors_plan9.go │ │ ├── mkall.sh │ │ ├── mkerrors.sh │ │ ├── mksysnum_plan9.sh │ │ ├── pwd_go15_plan9.go │ │ ├── pwd_plan9.go │ │ ├── race.go │ │ ├── race0.go │ │ ├── str.go │ │ ├── syscall.go │ │ ├── syscall_plan9.go │ │ ├── zsyscall_plan9_386.go │ │ ├── zsyscall_plan9_amd64.go │ │ ├── zsyscall_plan9_arm.go │ │ └── zsysnum_plan9.go │ ├── unix │ │ ├── .gitignore │ │ ├── README.md │ │ ├── affinity_linux.go │ │ ├── aliases.go │ │ ├── asm_aix_ppc64.s │ │ ├── asm_bsd_386.s │ │ ├── asm_bsd_amd64.s │ │ ├── asm_bsd_arm.s │ │ ├── asm_bsd_arm64.s │ │ ├── asm_bsd_ppc64.s │ │ ├── asm_bsd_riscv64.s │ │ ├── asm_linux_386.s │ │ ├── asm_linux_amd64.s │ │ ├── asm_linux_arm.s │ │ ├── asm_linux_arm64.s │ │ ├── asm_linux_loong64.s │ │ ├── asm_linux_mips64x.s │ │ ├── asm_linux_mipsx.s │ │ ├── asm_linux_ppc64x.s │ │ ├── asm_linux_riscv64.s │ │ ├── asm_linux_s390x.s │ │ ├── asm_openbsd_mips64.s │ │ ├── asm_solaris_amd64.s │ │ ├── asm_zos_s390x.s │ │ ├── bluetooth_linux.go │ │ ├── cap_freebsd.go │ │ ├── constants.go │ │ ├── dev_aix_ppc.go │ │ ├── dev_aix_ppc64.go │ │ ├── dev_darwin.go │ │ ├── dev_dragonfly.go │ │ ├── dev_freebsd.go │ │ ├── dev_linux.go │ │ ├── dev_netbsd.go │ │ ├── dev_openbsd.go │ │ ├── dev_zos.go │ │ ├── dirent.go │ │ ├── endian_big.go │ │ ├── endian_little.go │ │ ├── env_unix.go │ │ ├── epoll_zos.go │ │ ├── fcntl.go │ │ ├── fcntl_darwin.go │ │ ├── fcntl_linux_32bit.go │ │ ├── fdset.go │ │ ├── fstatfs_zos.go │ │ ├── gccgo.go │ │ ├── gccgo_c.c │ │ ├── gccgo_linux_amd64.go │ │ ├── ifreq_linux.go │ │ ├── ioctl_linux.go │ │ ├── ioctl_signed.go │ │ ├── ioctl_unsigned.go │ │ ├── ioctl_zos.go │ │ ├── mkall.sh │ │ ├── mkerrors.sh │ │ ├── mmap_nomremap.go │ │ ├── mremap.go │ │ ├── pagesize_unix.go │ │ ├── pledge_openbsd.go │ │ ├── ptrace_darwin.go │ │ ├── ptrace_ios.go │ │ ├── race.go │ │ ├── race0.go │ │ ├── readdirent_getdents.go │ │ ├── readdirent_getdirentries.go │ │ ├── sockcmsg_dragonfly.go │ │ ├── sockcmsg_linux.go │ │ ├── sockcmsg_unix.go │ │ ├── sockcmsg_unix_other.go │ │ ├── syscall.go │ │ ├── syscall_aix.go │ │ ├── syscall_aix_ppc.go │ │ ├── syscall_aix_ppc64.go │ │ ├── syscall_bsd.go │ │ ├── syscall_darwin.go │ │ ├── syscall_darwin_amd64.go │ │ ├── syscall_darwin_arm64.go │ │ ├── syscall_darwin_libSystem.go │ │ ├── syscall_dragonfly.go │ │ ├── syscall_dragonfly_amd64.go │ │ ├── syscall_freebsd.go │ │ ├── syscall_freebsd_386.go │ │ ├── syscall_freebsd_amd64.go │ │ ├── syscall_freebsd_arm.go │ │ ├── syscall_freebsd_arm64.go │ │ ├── syscall_freebsd_riscv64.go │ │ ├── syscall_hurd.go │ │ ├── syscall_hurd_386.go │ │ ├── syscall_illumos.go │ │ ├── syscall_linux.go │ │ ├── syscall_linux_386.go │ │ ├── syscall_linux_alarm.go │ │ ├── syscall_linux_amd64.go │ │ ├── syscall_linux_amd64_gc.go │ │ ├── syscall_linux_arm.go │ │ ├── syscall_linux_arm64.go │ │ ├── syscall_linux_gc.go │ │ ├── syscall_linux_gc_386.go │ │ ├── syscall_linux_gc_arm.go │ │ ├── syscall_linux_gccgo_386.go │ │ ├── syscall_linux_gccgo_arm.go │ │ ├── syscall_linux_loong64.go │ │ ├── syscall_linux_mips64x.go │ │ ├── syscall_linux_mipsx.go │ │ ├── syscall_linux_ppc.go │ │ ├── syscall_linux_ppc64x.go │ │ ├── syscall_linux_riscv64.go │ │ ├── syscall_linux_s390x.go │ │ ├── syscall_linux_sparc64.go │ │ ├── syscall_netbsd.go │ │ ├── syscall_netbsd_386.go │ │ ├── syscall_netbsd_amd64.go │ │ ├── syscall_netbsd_arm.go │ │ ├── syscall_netbsd_arm64.go │ │ ├── syscall_openbsd.go │ │ ├── syscall_openbsd_386.go │ │ ├── syscall_openbsd_amd64.go │ │ ├── syscall_openbsd_arm.go │ │ ├── syscall_openbsd_arm64.go │ │ ├── syscall_openbsd_libc.go │ │ ├── syscall_openbsd_mips64.go │ │ ├── syscall_openbsd_ppc64.go │ │ ├── syscall_openbsd_riscv64.go │ │ ├── syscall_solaris.go │ │ ├── syscall_solaris_amd64.go │ │ ├── syscall_unix.go │ │ ├── syscall_unix_gc.go │ │ ├── syscall_unix_gc_ppc64x.go │ │ ├── syscall_zos_s390x.go │ │ ├── sysvshm_linux.go │ │ ├── sysvshm_unix.go │ │ ├── sysvshm_unix_other.go │ │ ├── timestruct.go │ │ ├── unveil_openbsd.go │ │ ├── xattr_bsd.go │ │ ├── zerrors_aix_ppc.go │ │ ├── zerrors_aix_ppc64.go │ │ ├── zerrors_darwin_amd64.go │ │ ├── zerrors_darwin_arm64.go │ │ ├── zerrors_dragonfly_amd64.go │ │ ├── zerrors_freebsd_386.go │ │ ├── zerrors_freebsd_amd64.go │ │ ├── zerrors_freebsd_arm.go │ │ ├── zerrors_freebsd_arm64.go │ │ ├── zerrors_freebsd_riscv64.go │ │ ├── zerrors_linux.go │ │ ├── zerrors_linux_386.go │ │ ├── zerrors_linux_amd64.go │ │ ├── zerrors_linux_arm.go │ │ ├── zerrors_linux_arm64.go │ │ ├── zerrors_linux_loong64.go │ │ ├── zerrors_linux_mips.go │ │ ├── zerrors_linux_mips64.go │ │ ├── zerrors_linux_mips64le.go │ │ ├── zerrors_linux_mipsle.go │ │ ├── zerrors_linux_ppc.go │ │ ├── zerrors_linux_ppc64.go │ │ ├── zerrors_linux_ppc64le.go │ │ ├── zerrors_linux_riscv64.go │ │ ├── zerrors_linux_s390x.go │ │ ├── zerrors_linux_sparc64.go │ │ ├── zerrors_netbsd_386.go │ │ ├── zerrors_netbsd_amd64.go │ │ ├── zerrors_netbsd_arm.go │ │ ├── zerrors_netbsd_arm64.go │ │ ├── zerrors_openbsd_386.go │ │ ├── zerrors_openbsd_amd64.go │ │ ├── zerrors_openbsd_arm.go │ │ ├── zerrors_openbsd_arm64.go │ │ ├── zerrors_openbsd_mips64.go │ │ ├── zerrors_openbsd_ppc64.go │ │ ├── zerrors_openbsd_riscv64.go │ │ ├── zerrors_solaris_amd64.go │ │ ├── zerrors_zos_s390x.go │ │ ├── zptrace_armnn_linux.go │ │ ├── zptrace_linux_arm64.go │ │ ├── zptrace_mipsnn_linux.go │ │ ├── zptrace_mipsnnle_linux.go │ │ ├── zptrace_x86_linux.go │ │ ├── zsyscall_aix_ppc.go │ │ ├── zsyscall_aix_ppc64.go │ │ ├── zsyscall_aix_ppc64_gc.go │ │ ├── zsyscall_aix_ppc64_gccgo.go │ │ ├── zsyscall_darwin_amd64.go │ │ ├── zsyscall_darwin_amd64.s │ │ ├── zsyscall_darwin_arm64.go │ │ ├── zsyscall_darwin_arm64.s │ │ ├── zsyscall_dragonfly_amd64.go │ │ ├── zsyscall_freebsd_386.go │ │ ├── zsyscall_freebsd_amd64.go │ │ ├── zsyscall_freebsd_arm.go │ │ ├── zsyscall_freebsd_arm64.go │ │ ├── zsyscall_freebsd_riscv64.go │ │ ├── zsyscall_illumos_amd64.go │ │ ├── zsyscall_linux.go │ │ ├── zsyscall_linux_386.go │ │ ├── zsyscall_linux_amd64.go │ │ ├── zsyscall_linux_arm.go │ │ ├── zsyscall_linux_arm64.go │ │ ├── zsyscall_linux_loong64.go │ │ ├── zsyscall_linux_mips.go │ │ ├── zsyscall_linux_mips64.go │ │ ├── zsyscall_linux_mips64le.go │ │ ├── zsyscall_linux_mipsle.go │ │ ├── zsyscall_linux_ppc.go │ │ ├── zsyscall_linux_ppc64.go │ │ ├── zsyscall_linux_ppc64le.go │ │ ├── zsyscall_linux_riscv64.go │ │ ├── zsyscall_linux_s390x.go │ │ ├── zsyscall_linux_sparc64.go │ │ ├── zsyscall_netbsd_386.go │ │ ├── zsyscall_netbsd_amd64.go │ │ ├── zsyscall_netbsd_arm.go │ │ ├── zsyscall_netbsd_arm64.go │ │ ├── zsyscall_openbsd_386.go │ │ ├── zsyscall_openbsd_386.s │ │ ├── zsyscall_openbsd_amd64.go │ │ ├── zsyscall_openbsd_amd64.s │ │ ├── zsyscall_openbsd_arm.go │ │ ├── zsyscall_openbsd_arm.s │ │ ├── zsyscall_openbsd_arm64.go │ │ ├── zsyscall_openbsd_arm64.s │ │ ├── zsyscall_openbsd_mips64.go │ │ ├── zsyscall_openbsd_mips64.s │ │ ├── zsyscall_openbsd_ppc64.go │ │ ├── zsyscall_openbsd_ppc64.s │ │ ├── zsyscall_openbsd_riscv64.go │ │ ├── zsyscall_openbsd_riscv64.s │ │ ├── zsyscall_solaris_amd64.go │ │ ├── zsyscall_zos_s390x.go │ │ ├── zsysctl_openbsd_386.go │ │ ├── zsysctl_openbsd_amd64.go │ │ ├── zsysctl_openbsd_arm.go │ │ ├── zsysctl_openbsd_arm64.go │ │ ├── zsysctl_openbsd_mips64.go │ │ ├── zsysctl_openbsd_ppc64.go │ │ ├── zsysctl_openbsd_riscv64.go │ │ ├── zsysnum_darwin_amd64.go │ │ ├── zsysnum_darwin_arm64.go │ │ ├── zsysnum_dragonfly_amd64.go │ │ ├── zsysnum_freebsd_386.go │ │ ├── zsysnum_freebsd_amd64.go │ │ ├── zsysnum_freebsd_arm.go │ │ ├── zsysnum_freebsd_arm64.go │ │ ├── zsysnum_freebsd_riscv64.go │ │ ├── zsysnum_linux_386.go │ │ ├── zsysnum_linux_amd64.go │ │ ├── zsysnum_linux_arm.go │ │ ├── zsysnum_linux_arm64.go │ │ ├── zsysnum_linux_loong64.go │ │ ├── zsysnum_linux_mips.go │ │ ├── zsysnum_linux_mips64.go │ │ ├── zsysnum_linux_mips64le.go │ │ ├── zsysnum_linux_mipsle.go │ │ ├── zsysnum_linux_ppc.go │ │ ├── zsysnum_linux_ppc64.go │ │ ├── zsysnum_linux_ppc64le.go │ │ ├── zsysnum_linux_riscv64.go │ │ ├── zsysnum_linux_s390x.go │ │ ├── zsysnum_linux_sparc64.go │ │ ├── zsysnum_netbsd_386.go │ │ ├── zsysnum_netbsd_amd64.go │ │ ├── zsysnum_netbsd_arm.go │ │ ├── zsysnum_netbsd_arm64.go │ │ ├── zsysnum_openbsd_386.go │ │ ├── zsysnum_openbsd_amd64.go │ │ ├── zsysnum_openbsd_arm.go │ │ ├── zsysnum_openbsd_arm64.go │ │ ├── zsysnum_openbsd_mips64.go │ │ ├── zsysnum_openbsd_ppc64.go │ │ ├── zsysnum_openbsd_riscv64.go │ │ ├── zsysnum_zos_s390x.go │ │ ├── ztypes_aix_ppc.go │ │ ├── ztypes_aix_ppc64.go │ │ ├── ztypes_darwin_amd64.go │ │ ├── ztypes_darwin_arm64.go │ │ ├── ztypes_dragonfly_amd64.go │ │ ├── ztypes_freebsd_386.go │ │ ├── ztypes_freebsd_amd64.go │ │ ├── ztypes_freebsd_arm.go │ │ ├── ztypes_freebsd_arm64.go │ │ ├── ztypes_freebsd_riscv64.go │ │ ├── ztypes_linux.go │ │ ├── ztypes_linux_386.go │ │ ├── ztypes_linux_amd64.go │ │ ├── ztypes_linux_arm.go │ │ ├── ztypes_linux_arm64.go │ │ ├── ztypes_linux_loong64.go │ │ ├── ztypes_linux_mips.go │ │ ├── ztypes_linux_mips64.go │ │ ├── ztypes_linux_mips64le.go │ │ ├── ztypes_linux_mipsle.go │ │ ├── ztypes_linux_ppc.go │ │ ├── ztypes_linux_ppc64.go │ │ ├── ztypes_linux_ppc64le.go │ │ ├── ztypes_linux_riscv64.go │ │ ├── ztypes_linux_s390x.go │ │ ├── ztypes_linux_sparc64.go │ │ ├── ztypes_netbsd_386.go │ │ ├── ztypes_netbsd_amd64.go │ │ ├── ztypes_netbsd_arm.go │ │ ├── ztypes_netbsd_arm64.go │ │ ├── ztypes_openbsd_386.go │ │ ├── ztypes_openbsd_amd64.go │ │ ├── ztypes_openbsd_arm.go │ │ ├── ztypes_openbsd_arm64.go │ │ ├── ztypes_openbsd_mips64.go │ │ ├── ztypes_openbsd_ppc64.go │ │ ├── ztypes_openbsd_riscv64.go │ │ ├── ztypes_solaris_amd64.go │ │ └── ztypes_zos_s390x.go │ └── windows │ │ ├── aliases.go │ │ ├── dll_windows.go │ │ ├── empty.s │ │ ├── env_windows.go │ │ ├── eventlog.go │ │ ├── exec_windows.go │ │ ├── memory_windows.go │ │ ├── mkerrors.bash │ │ ├── mkknownfolderids.bash │ │ ├── mksyscall.go │ │ ├── race.go │ │ ├── race0.go │ │ ├── security_windows.go │ │ ├── service.go │ │ ├── setupapi_windows.go │ │ ├── str.go │ │ ├── syscall.go │ │ ├── syscall_windows.go │ │ ├── types_windows.go │ │ ├── types_windows_386.go │ │ ├── types_windows_amd64.go │ │ ├── types_windows_arm.go │ │ ├── types_windows_arm64.go │ │ ├── zerrors_windows.go │ │ ├── zknownfolderids_windows.go │ │ └── zsyscall_windows.go │ ├── term │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── PATENTS │ ├── README.md │ ├── codereview.cfg │ ├── term.go │ ├── term_plan9.go │ ├── term_unix.go │ ├── term_unix_bsd.go │ ├── term_unix_other.go │ ├── term_unsupported.go │ ├── term_windows.go │ └── terminal.go │ └── text │ ├── LICENSE │ ├── PATENTS │ ├── encoding │ ├── encoding.go │ ├── internal │ │ ├── identifier │ │ │ ├── identifier.go │ │ │ └── mib.go │ │ └── internal.go │ └── unicode │ │ ├── override.go │ │ └── unicode.go │ ├── internal │ ├── language │ │ ├── common.go │ │ ├── compact.go │ │ ├── compact │ │ │ ├── compact.go │ │ │ ├── language.go │ │ │ ├── parents.go │ │ │ ├── tables.go │ │ │ └── tags.go │ │ ├── compose.go │ │ ├── coverage.go │ │ ├── language.go │ │ ├── lookup.go │ │ ├── match.go │ │ ├── parse.go │ │ ├── tables.go │ │ └── tags.go │ ├── tag │ │ └── tag.go │ └── utf8internal │ │ └── utf8internal.go │ ├── language │ ├── coverage.go │ ├── doc.go │ ├── language.go │ ├── match.go │ ├── parse.go │ ├── tables.go │ └── tags.go │ ├── runes │ ├── cond.go │ └── runes.go │ ├── secure │ └── bidirule │ │ ├── bidirule.go │ │ ├── bidirule10.0.0.go │ │ └── bidirule9.0.0.go │ ├── transform │ └── transform.go │ └── unicode │ ├── bidi │ ├── bidi.go │ ├── bracket.go │ ├── core.go │ ├── prop.go │ ├── tables10.0.0.go │ ├── tables11.0.0.go │ ├── tables12.0.0.go │ ├── tables13.0.0.go │ ├── tables15.0.0.go │ ├── tables9.0.0.go │ └── trieval.go │ └── norm │ ├── composition.go │ ├── forminfo.go │ ├── input.go │ ├── iter.go │ ├── normalize.go │ ├── readwriter.go │ ├── tables10.0.0.go │ ├── tables11.0.0.go │ ├── tables12.0.0.go │ ├── tables13.0.0.go │ ├── tables15.0.0.go │ ├── tables9.0.0.go │ ├── transform.go │ └── trie.go ├── gopkg.in ├── ini.v1 │ ├── .editorconfig │ ├── .gitignore │ ├── .golangci.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── codecov.yml │ ├── data_source.go │ ├── deprecated.go │ ├── error.go │ ├── file.go │ ├── helper.go │ ├── ini.go │ ├── key.go │ ├── parser.go │ ├── section.go │ └── struct.go ├── natefinch │ └── lumberjack.v2 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── chown.go │ │ ├── chown_linux.go │ │ └── lumberjack.go ├── yaml.v2 │ ├── .travis.yml │ ├── LICENSE │ ├── LICENSE.libyaml │ ├── NOTICE │ ├── README.md │ ├── apic.go │ ├── decode.go │ ├── emitterc.go │ ├── encode.go │ ├── parserc.go │ ├── readerc.go │ ├── resolve.go │ ├── scannerc.go │ ├── sorter.go │ ├── writerc.go │ ├── yaml.go │ ├── yamlh.go │ └── yamlprivateh.go └── yaml.v3 │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── apic.go │ ├── decode.go │ ├── emitterc.go │ ├── encode.go │ ├── parserc.go │ ├── readerc.go │ ├── resolve.go │ ├── scannerc.go │ ├── sorter.go │ ├── writerc.go │ ├── yaml.go │ ├── yamlh.go │ └── yamlprivateh.go └── modules.txt /.gitignore: -------------------------------------------------------------------------------- 1 | matterircd 2 | matterircd.toml 3 | matterircd-lastsaved.db 4 | -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- 1 | release: 2 | prerelease: auto 3 | name_template: "{{.ProjectName}} v{{.Version}}" 4 | 5 | builds: 6 | - env: 7 | - CGO_ENABLED=0 8 | goos: 9 | - freebsd 10 | - windows 11 | - darwin 12 | - linux 13 | - dragonfly 14 | - netbsd 15 | - openbsd 16 | goarch: 17 | - amd64 18 | - arm 19 | - arm64 20 | - 386 21 | ldflags: 22 | - -s -w -X main.githash={{.ShortCommit}} 23 | 24 | archives: 25 | - 26 | id: matterircd 27 | builds: 28 | - matterircd 29 | name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" 30 | format: binary 31 | files: 32 | - none* 33 | 34 | checksum: 35 | name_template: 'checksums.txt' 36 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:edge 2 | ENTRYPOINT ["/bin/matterircd"] 3 | 4 | COPY . /go/src/github.com/42wim/matterircd 5 | RUN apk update && apk add go git gcc musl-dev ca-certificates \ 6 | && cd /go/src/github.com/42wim/matterircd \ 7 | && export GOPATH=/go \ 8 | && go get \ 9 | && go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterircd \ 10 | && rm -rf /go \ 11 | && apk del --purge git go gcc musl-dev 12 | -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | import ( 4 | "fmt" 5 | "runtime" 6 | "strings" 7 | 8 | "github.com/sirupsen/logrus" 9 | "github.com/spf13/viper" 10 | ) 11 | 12 | var Logger *logrus.Entry 13 | 14 | func LoadConfig(cfgfile string) (*viper.Viper, error) { 15 | v := viper.New() 16 | v.SetConfigFile(cfgfile) 17 | 18 | v.SetEnvPrefix("matterircd") 19 | v.SetEnvKeyReplacer(strings.NewReplacer(".", "_", "-", "_")) 20 | // use environment variables 21 | v.AutomaticEnv() 22 | 23 | if err := v.ReadInConfig(); err != nil { 24 | return nil, fmt.Errorf("error reading config file %s", err) 25 | } 26 | 27 | // reload config on file changes 28 | if runtime.GOOS != "illumos" { 29 | v.WatchConfig() 30 | } 31 | 32 | return v, nil 33 | } 34 | -------------------------------------------------------------------------------- /mm-go-irckit/README.md: -------------------------------------------------------------------------------- 1 | # mm-go-irckit 2 | 3 | (forked from [go-irckit](https://github.com/shazow/go-irckit)) 4 | 5 | Minimal IRC server in Go, used for [matterircd](https://github.com/42wim/matterircd) IRC and Mattermost integration. 6 | 7 | ## License 8 | 9 | MIT 10 | -------------------------------------------------------------------------------- /mm-go-irckit/logger.go: -------------------------------------------------------------------------------- 1 | package irckit 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var ( 8 | logger *logrus.Entry 9 | LogLevel string 10 | ) 11 | 12 | func SetLogger(l *logrus.Entry) { 13 | logger = l 14 | } 15 | 16 | func SetLogLevel(level string) { 17 | LogLevel = level 18 | } 19 | 20 | func IsDebugLevel() bool { 21 | return LogLevel == "debug" 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | end_of_line = lf 6 | charset = utf-8 7 | trim_trailing_whitespace = true 8 | insert_final_newline = true 9 | 10 | [*.xml] 11 | indent_style = space 12 | indent_size = 2 13 | insert_final_newline = false 14 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | .git 3 | .idea 4 | .vscode 5 | .hermit 6 | *.exe 7 | *.dll 8 | *.so 9 | *.dylib 10 | /cmd/chroma/chroma 11 | 12 | # Test binary, build with `go test -c` 13 | *.test 14 | 15 | # Output of the go coverage tool, specifically when used with LiteIDE 16 | *.out 17 | 18 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 19 | .glide/ 20 | 21 | _models/ 22 | 23 | _examples/ 24 | *.min.* 25 | build/ 26 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI- 2 | // coloured text, etc. 3 | // 4 | // Chroma is based heavily on Pygments, and includes translators for Pygments lexers and styles. 5 | // 6 | // For more information, go here: https://github.com/alecthomas/chroma 7 | package chroma 8 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/formatters/tokens.go: -------------------------------------------------------------------------------- 1 | package formatters 2 | 3 | import ( 4 | "fmt" 5 | "io" 6 | 7 | "github.com/alecthomas/chroma/v2" 8 | ) 9 | 10 | // Tokens formatter outputs the raw token structures. 11 | var Tokens = Register("tokens", chroma.FormatterFunc(func(w io.Writer, s *chroma.Style, it chroma.Iterator) error { 12 | for t := it(); t != chroma.EOF; t = it() { 13 | if _, err := fmt.Fprintln(w, t.GoString()); err != nil { 14 | return err 15 | } 16 | } 17 | return nil 18 | })) 19 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/lexers/dns.go: -------------------------------------------------------------------------------- 1 | package lexers 2 | 3 | import ( 4 | "regexp" 5 | ) 6 | 7 | // TODO(moorereason): can this be factored away? 8 | var zoneAnalyserRe = regexp.MustCompile(`(?m)^@\s+IN\s+SOA\s+`) 9 | 10 | func init() { // nolint: gochecknoinits 11 | Get("dns").SetAnalyser(func(text string) float32 { 12 | if zoneAnalyserRe.FindString(text) != "" { 13 | return 1.0 14 | } 15 | return 0.0 16 | }) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/lexers/embedded/plaintext.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | plaintext 4 | text 5 | plain 6 | no-highlight 7 | *.txt 8 | text/plain 9 | -1 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/lexers/html.go: -------------------------------------------------------------------------------- 1 | package lexers 2 | 3 | import ( 4 | "github.com/alecthomas/chroma/v2" 5 | ) 6 | 7 | // HTML lexer. 8 | var HTML = chroma.MustNewXMLLexer(embedded, "embedded/html.xml") 9 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/lexers/zed.go: -------------------------------------------------------------------------------- 1 | package lexers 2 | 3 | import ( 4 | "strings" 5 | ) 6 | 7 | // Zed lexer. 8 | func init() { // nolint: gochecknoinits 9 | Get("Zed").SetAnalyser(func(text string) float32 { 10 | if strings.Contains(text, "definition ") && strings.Contains(text, "relation ") && strings.Contains(text, "permission ") { 11 | return 0.9 12 | } 13 | if strings.Contains(text, "definition ") { 14 | return 0.5 15 | } 16 | if strings.Contains(text, "relation ") { 17 | return 0.5 18 | } 19 | if strings.Contains(text, "permission ") { 20 | return 0.25 21 | } 22 | return 0.0 23 | }) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/abap.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/hr_high_contrast.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/hrdark.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/igor.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/modus-operandi.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/modus-vivendi.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/onesenterprise.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/rrt.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/chroma/v2/styles/vs.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/json.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | // MarshalJSON implements the encoding/json.Marshaler interface. 8 | func (v Version) MarshalJSON() ([]byte, error) { 9 | return json.Marshal(v.String()) 10 | } 11 | 12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface. 13 | func (v *Version) UnmarshalJSON(data []byte) (err error) { 14 | var versionString string 15 | 16 | if err = json.Unmarshal(data, &versionString); err != nil { 17 | return 18 | } 19 | 20 | *v, err = Parse(versionString) 21 | 22 | return 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "blang", 3 | "bugs": { 4 | "URL": "https://github.com/blang/semver/issues", 5 | "url": "https://github.com/blang/semver/issues" 6 | }, 7 | "gx": { 8 | "dvcsimport": "github.com/blang/semver" 9 | }, 10 | "gxVersion": "0.10.0", 11 | "language": "go", 12 | "license": "MIT", 13 | "name": "semver", 14 | "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", 15 | "version": "3.5.1" 16 | } 17 | 18 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/sort.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "sort" 5 | ) 6 | 7 | // Versions represents multiple versions. 8 | type Versions []Version 9 | 10 | // Len returns length of version collection 11 | func (s Versions) Len() int { 12 | return len(s) 13 | } 14 | 15 | // Swap swaps two versions inside the collection by its indices 16 | func (s Versions) Swap(i, j int) { 17 | s[i], s[j] = s[j], s[i] 18 | } 19 | 20 | // Less checks if version at index i is less than version at index j 21 | func (s Versions) Less(i, j int) bool { 22 | return s[i].LT(s[j]) 23 | } 24 | 25 | // Sort sorts a slice of versions 26 | func Sort(versions []Version) { 27 | sort.Sort(Versions(versions)) 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/sql.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "database/sql/driver" 5 | "fmt" 6 | ) 7 | 8 | // Scan implements the database/sql.Scanner interface. 9 | func (v *Version) Scan(src interface{}) (err error) { 10 | var str string 11 | switch src := src.(type) { 12 | case string: 13 | str = src 14 | case []byte: 15 | str = string(src) 16 | default: 17 | return fmt.Errorf("Version.Scan: cannot convert %T to string.", src) 18 | } 19 | 20 | if t, err := Parse(str); err == nil { 21 | *v = t 22 | } 23 | 24 | return 25 | } 26 | 27 | // Value implements the database/sql/driver.Valuer interface. 28 | func (v Version) Value() (driver.Value, error) { 29 | return v.String(), nil 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/dlclark/regexp2/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | *.out 26 | 27 | .DS_Store 28 | -------------------------------------------------------------------------------- /vendor/github.com/dlclark/regexp2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - AMD64 4 | - ppc64le 5 | go: 6 | - 1.9 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/dlclark/regexp2/syntax/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package syntax 4 | 5 | // Fuzz is the input point for go-fuzz 6 | func Fuzz(data []byte) int { 7 | sdata := string(data) 8 | tree, err := Parse(sdata, RegexOptions(0)) 9 | if err != nil { 10 | return 0 11 | } 12 | 13 | // translate it to code 14 | _, err = Write(tree) 15 | if err != nil { 16 | panic(err) 17 | } 18 | 19 | return 1 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.3.x 5 | - 1.5.x 6 | - 1.6.x 7 | - 1.7.x 8 | - 1.8.x 9 | - 1.9.x 10 | - master 11 | matrix: 12 | allow_failures: 13 | - go: master 14 | fast_finish: true 15 | install: 16 | - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). 17 | script: 18 | - go get -t -v ./... 19 | - diff -u <(echo -n) <(gofmt -d -s .) 20 | - go tool vet . 21 | - go test -v -race ./... 22 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/humanize.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package humanize converts boring ugly numbers to human-friendly strings and back. 3 | 4 | Durations can be turned into strings such as "3 days ago", numbers 5 | representing sizes like 82854982 into useful strings like, "83 MB" or 6 | "79 MiB" (whichever you prefer). 7 | */ 8 | package humanize 9 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/ordinals.go: -------------------------------------------------------------------------------- 1 | package humanize 2 | 3 | import "strconv" 4 | 5 | // Ordinal gives you the input number in a rank/ordinal format. 6 | // 7 | // Ordinal(3) -> 3rd 8 | func Ordinal(x int) string { 9 | suffix := "th" 10 | switch x % 10 { 11 | case 1: 12 | if x%100 != 11 { 13 | suffix = "st" 14 | } 15 | case 2: 16 | if x%100 != 12 { 17 | suffix = "nd" 18 | } 19 | case 3: 20 | if x%100 != 13 { 21 | suffix = "rd" 22 | } 23 | } 24 | return strconv.Itoa(x) + suffix 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | *.out 3 | *.log 4 | *.test 5 | .vscode 6 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.10.x" 5 | - "1.11.x" 6 | - "1.12.x" 7 | 8 | script: 9 | - go get github.com/golang/dep/cmd/dep github.com/stretchr/testify 10 | - dep ensure -v -vendor-only 11 | - go test ./gojay/codegen/test/... -race 12 | - go test -race -coverprofile=coverage.txt -covermode=atomic 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | go test -race -run=^Test -v 4 | 5 | .PHONY: cover 6 | cover: 7 | go test -coverprofile=coverage.out -covermode=atomic 8 | 9 | .PHONY: coverhtml 10 | coverhtml: 11 | go tool cover -html=coverage.out -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/encode_number.go: -------------------------------------------------------------------------------- 1 | package gojay 2 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/gojay.go: -------------------------------------------------------------------------------- 1 | // Package gojay implements encoding and decoding of JSON as defined in RFC 7159. 2 | // The mapping between JSON and Go values is described 3 | // in the documentation for the Marshal and Unmarshal functions. 4 | // 5 | // It aims at performance and usability by relying on simple interfaces 6 | // to decode and encode structures, slices, arrays and even channels. 7 | // 8 | // On top of the simple interfaces to implement, gojay provides lots of helpers to decode and encode 9 | // multiple of different types natively such as bit.Int, sql.NullString or time.Time 10 | package gojay 11 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/gojay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/francoispqt/gojay/gojay.png -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # go test -c output 2 | *.test 3 | *.test.exe 4 | 5 | # Output of go build ./cmd/fsnotify 6 | /fsnotify 7 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.mailmap: -------------------------------------------------------------------------------- 1 | Chris Howey 2 | Nathan Youngman <4566+nathany@users.noreply.github.com> 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/system_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || dragonfly 2 | // +build freebsd openbsd netbsd dragonfly 3 | 4 | package fsnotify 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 9 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/system_darwin.go: -------------------------------------------------------------------------------- 1 | //go:build darwin 2 | // +build darwin 3 | 4 | package fsnotify 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | // note: this constant is not defined on BSD 9 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-asn1-ber/asn1-ber/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2.x 5 | - 1.6.x 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - 1.12.x 10 | - 1.14.x 11 | - tip 12 | 13 | os: 14 | - linux 15 | 16 | arch: 17 | - amd64 18 | - ppc64le 19 | 20 | dist: xenial 21 | 22 | env: 23 | - GOARCH=amd64 24 | 25 | jobs: 26 | include: 27 | - os: windows 28 | go: 1.14.x 29 | - os: osx 30 | go: 1.14.x 31 | - os: linux 32 | go: 1.14.x 33 | arch: arm64 34 | - os: linux 35 | go: 1.14.x 36 | env: 37 | - GOARCH=386 38 | 39 | script: 40 | - go test -v -cover ./... || go test -v ./... 41 | matrix: 42 | allowfailures: 43 | go: 1.2.x 44 | -------------------------------------------------------------------------------- /vendor/github.com/go-asn1-ber/asn1-ber/content_int.go: -------------------------------------------------------------------------------- 1 | package ber 2 | 3 | func encodeUnsignedInteger(i uint64) []byte { 4 | n := uint64Length(i) 5 | out := make([]byte, n) 6 | 7 | var j int 8 | for ; n > 0; n-- { 9 | out[j] = byte(i >> uint((n-1)*8)) 10 | j++ 11 | } 12 | 13 | return out 14 | } 15 | 16 | func uint64Length(i uint64) (numBytes int) { 17 | numBytes = 1 18 | 19 | for i > 255 { 20 | numBytes++ 21 | i >>= 8 22 | } 23 | 24 | return 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/go-asn1-ber/asn1-ber/util.go: -------------------------------------------------------------------------------- 1 | package ber 2 | 3 | import "io" 4 | 5 | func readByte(reader io.Reader) (byte, error) { 6 | bytes := make([]byte, 1) 7 | _, err := io.ReadFull(reader, bytes) 8 | if err != nil { 9 | if err == io.EOF { 10 | return 0, io.ErrUnexpectedEOF 11 | } 12 | return 0, err 13 | } 14 | return bytes[0], nil 15 | } 16 | 17 | func isEOCPacket(p *Packet) bool { 18 | return p != nil && 19 | p.Tag == TagEOC && 20 | p.ClassType == ClassUniversal && 21 | p.TagType == TypePrimitive && 22 | len(p.ByteValue) == 0 && 23 | len(p.Children) == 0 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/google/gops/agent/sockopt_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (js && wasm) || plan9 || solaris || windows 6 | // +build js,wasm plan9 solaris windows 7 | 8 | package agent 9 | 10 | import "syscall" 11 | 12 | func setReuseAddrAndPortSockopts(network, address string, c syscall.RawConn) error { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/node_js.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build js 6 | 7 | package uuid 8 | 9 | // getHardwareInterface returns nil values for the JS version of the code. 10 | // This remvoves the "net" dependency, because it is not used in the browser. 11 | // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. 12 | func getHardwareInterface(name string) (string, []byte) { return "", nil } 13 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | .idea/ 25 | *.iml 26 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Gorilla WebSocket authors for copyright 2 | # purposes. 3 | # 4 | # Please keep the list sorted. 5 | 6 | Gary Burd 7 | Google LLC (https://opensource.google.com/) 8 | Joachim Bauch 9 | 10 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/mask_safe.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket Authors. All rights reserved. Use of 2 | // this source code is governed by a BSD-style license that can be found in the 3 | // LICENSE file. 4 | 5 | //go:build appengine 6 | // +build appengine 7 | 8 | package websocket 9 | 10 | func maskBytes(key [4]byte, pos int, b []byte) int { 11 | for i := range b { 12 | b[i] ^= key[pos&3] 13 | pos++ 14 | } 15 | return pos & 3 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/tls_handshake.go: -------------------------------------------------------------------------------- 1 | //go:build go1.17 2 | // +build go1.17 3 | 4 | package websocket 5 | 6 | import ( 7 | "context" 8 | "crypto/tls" 9 | ) 10 | 11 | func doHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error { 12 | if err := tlsConn.HandshakeContext(ctx); err != nil { 13 | return err 14 | } 15 | if !cfg.InsecureSkipVerify { 16 | if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { 17 | return err 18 | } 19 | } 20 | return nil 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/tls_handshake_116.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.17 2 | // +build !go1.17 3 | 4 | package websocket 5 | 6 | import ( 7 | "context" 8 | "crypto/tls" 9 | ) 10 | 11 | func doHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error { 12 | if err := tlsConn.Handshake(); err != nil { 13 | return err 14 | } 15 | if !cfg.InsecureSkipVerify { 16 | if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { 17 | return err 18 | } 19 | } 20 | return nil 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /.vscode 3 | /internal/validation/testdata/graphql-js 4 | /internal/validation/testdata/node_modules 5 | /vendor 6 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 5m 3 | 4 | linters-settings: 5 | gofmt: 6 | simplify: true 7 | govet: 8 | check-shadowing: true 9 | enable-all: true 10 | disable: 11 | - fieldalignment 12 | - deepequalerrors # remove later 13 | 14 | linters: 15 | disable-all: true 16 | enable: 17 | - deadcode 18 | - gofmt 19 | - gosimple 20 | - govet 21 | - ineffassign 22 | - exportloopref 23 | - structcheck 24 | - staticcheck 25 | - unconvert 26 | - unused 27 | - varcheck 28 | - misspell 29 | - goimports 30 | 31 | issues: 32 | exclude-rules: 33 | - linters: 34 | - unused 35 | path: "graphql_test.go" -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | 3 | [v1.1.0](https://github.com/graph-gophers/graphql-go/releases/tag/v1.1.0) Release v1.1.0 4 | * [FEATURE] Add types package #437 5 | * [FEATURE] Expose `packer.Unmarshaler` as `decode.Unmarshaler` to the public #450 6 | * [FEATURE] Add location fields to type definitions #454 7 | * [FEATURE] `errors.Errorf` preserves original error similar to `fmt.Errorf` #456 8 | * [BUGFIX] Fix duplicated __typename in response (fixes #369) #443 9 | 10 | [v1.0.0](https://github.com/graph-gophers/graphql-go/releases/tag/v1.0.0) Initial release 11 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | - With issues: 4 | - Use the search tool before opening a new issue. 5 | - Please provide source code and commit sha if you found a bug. 6 | - Review existing issues and provide feedback or react to them. 7 | 8 | - With pull requests: 9 | - Open your pull request against `master` 10 | - Your pull request should have no more than two commits, if not you should squash them. 11 | - It should pass all tests in the available continuous integrations systems such as TravisCI. 12 | - You should add/modify tests to cover your proposed code changes. 13 | - If your pull request contains a new feature, please document it on the README. -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/decode/decode.go: -------------------------------------------------------------------------------- 1 | package decode 2 | 3 | // Unmarshaler defines the api of Go types mapped to custom GraphQL scalar types 4 | type Unmarshaler interface { 5 | // ImplementsGraphQLType maps the implementing custom Go type 6 | // to the GraphQL scalar type in the schema. 7 | ImplementsGraphQLType(name string) bool 8 | // UnmarshalGraphQL is the custom unmarshaler for the implementing type 9 | // 10 | // This function will be called whenever you use the 11 | // custom GraphQL scalar type as an input 12 | UnmarshalGraphQL(input interface{}) error 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/errors/panic_handler.go: -------------------------------------------------------------------------------- 1 | package errors 2 | 3 | import ( 4 | "context" 5 | ) 6 | 7 | // PanicHandler is the interface used to create custom panic errors that occur during query execution 8 | type PanicHandler interface { 9 | MakePanicError(ctx context.Context, value interface{}) *QueryError 10 | } 11 | 12 | // DefaultPanicHandler is the default PanicHandler 13 | type DefaultPanicHandler struct{} 14 | 15 | // MakePanicError creates a new QueryError from a panic that occurred during execution 16 | func (h *DefaultPanicHandler) MakePanicError(ctx context.Context, value interface{}) *QueryError { 17 | return Errorf("panic occurred: %v", value) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/id.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "fmt" 5 | "strconv" 6 | ) 7 | 8 | // ID represents GraphQL's "ID" scalar type. A custom type may be used instead. 9 | type ID string 10 | 11 | func (ID) ImplementsGraphQLType(name string) bool { 12 | return name == "ID" 13 | } 14 | 15 | func (id *ID) UnmarshalGraphQL(input interface{}) error { 16 | var err error 17 | switch input := input.(type) { 18 | case string: 19 | *id = ID(input) 20 | case int32: 21 | *id = ID(strconv.Itoa(int(input))) 22 | default: 23 | err = fmt.Errorf("wrong type for ID: %T", input) 24 | } 25 | return err 26 | } 27 | 28 | func (id ID) MarshalJSON() ([]byte, error) { 29 | return strconv.AppendQuote(nil, string(id)), nil 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/internal/common/directive.go: -------------------------------------------------------------------------------- 1 | package common 2 | 3 | import "github.com/graph-gophers/graphql-go/types" 4 | 5 | func ParseDirectives(l *Lexer) types.DirectiveList { 6 | var directives types.DirectiveList 7 | for l.Peek() == '@' { 8 | l.ConsumeToken('@') 9 | d := &types.Directive{} 10 | d.Name = l.ConsumeIdentWithLoc() 11 | d.Name.Loc.Column-- 12 | if l.Peek() == '(' { 13 | d.Arguments = ParseArgumentList(l) 14 | } 15 | directives = append(directives, d) 16 | } 17 | return directives 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/trace/validation_trace.go: -------------------------------------------------------------------------------- 1 | package trace 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/graph-gophers/graphql-go/errors" 7 | ) 8 | 9 | type TraceValidationFinishFunc = TraceQueryFinishFunc 10 | 11 | // Deprecated: use ValidationTracerContext. 12 | type ValidationTracer interface { 13 | TraceValidation() TraceValidationFinishFunc 14 | } 15 | 16 | type ValidationTracerContext interface { 17 | TraceValidation(ctx context.Context) TraceValidationFinishFunc 18 | } 19 | 20 | type NoopValidationTracer struct{} 21 | 22 | // Deprecated: use a Tracer which implements ValidationTracerContext. 23 | func (NoopValidationTracer) TraceValidation() TraceValidationFinishFunc { 24 | return func(errs []*errors.QueryError) {} 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/types/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package types represents all types from the GraphQL specification in code. 3 | 4 | 5 | The names of the Go types, whenever possible, match 1:1 with the names from 6 | the specification. 7 | 8 | */ 9 | package types 10 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/types/extension.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import "github.com/graph-gophers/graphql-go/errors" 4 | 5 | // Extension type defines a GraphQL type extension. 6 | // Schemas, Objects, Inputs and Scalars can be extended. 7 | // 8 | // https://spec.graphql.org/draft/#sec-Type-System-Extensions 9 | type Extension struct { 10 | Type NamedType 11 | Directives DirectiveList 12 | Loc errors.Location 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/graph-gophers/graphql-go/types/variable.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import "github.com/graph-gophers/graphql-go/errors" 4 | 5 | // Variable is used in GraphQL operations to parameterize an input value. 6 | // 7 | // http://spec.graphql.org/draft/#Variable 8 | type Variable struct { 9 | Name string 10 | Loc errors.Location 11 | } 12 | 13 | func (v Variable) Deserialize(vars map[string]interface{}) interface{} { return vars[v.Name] } 14 | func (v Variable) String() string { return "$" + v.Name } 15 | func (v *Variable) Location() errors.Location { return v.Loc } 16 | -------------------------------------------------------------------------------- /vendor/github.com/grokify/html-strip-tags-go/.codeclimate.yml: -------------------------------------------------------------------------------- 1 | engines: 2 | gofmt: 3 | enabled: true 4 | golint: 5 | enabled: true 6 | govet: 7 | enabled: true 8 | 9 | ratings: 10 | paths: 11 | - "**.go" 12 | -------------------------------------------------------------------------------- /vendor/github.com/grokify/html-strip-tags-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | arch: 3 | - amd64 4 | - ppc64le 5 | 6 | go_import_path: github.com/grokify/html-strip-tags-go 7 | go: 8 | - "1.15.x" 9 | - "1.14.x" 10 | - "1.13.x" 11 | - "1.12.x" 12 | - "1.11.x" 13 | - "1.10.x" 14 | - "1.9.x" 15 | - "1.8.x" 16 | - "1.7.x" 17 | - "1.6.x" 18 | - "1.5.x" 19 | - "1.4.x" 20 | - "1.3.x" 21 | - "1.2.x" 22 | - tip 23 | matrix: 24 | allow_failures: 25 | - go: "1.4.x" 26 | - go: "1.3.x" 27 | - go: "1.2.x" 28 | - go: tip 29 | 30 | install: 31 | - go get -t -v ./... 32 | script: 33 | - go test -v ./... 34 | 35 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters: 2 | enable: 3 | - megacheck 4 | - revive 5 | - govet 6 | - unconvert 7 | - megacheck 8 | - gas 9 | - gocyclo 10 | - dupl 11 | - misspell 12 | - unparam 13 | - unused 14 | - typecheck 15 | - ineffassign 16 | - stylecheck 17 | - exportloopref 18 | - gocritic 19 | - nakedret 20 | - gosimple 21 | - prealloc 22 | fast: false 23 | disable-all: true 24 | 25 | issues: 26 | exclude-rules: 27 | - path: _test\.go 28 | linters: 29 | - dupl 30 | exclude-use-default: false 31 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/README.md: -------------------------------------------------------------------------------- 1 | golang-lru 2 | ========== 3 | 4 | This provides the `lru` package which implements a fixed-size 5 | thread safe LRU cache. It is based on the cache in Groupcache. 6 | 7 | Documentation 8 | ============= 9 | 10 | Full docs are available on [Godoc](https://pkg.go.dev/github.com/hashicorp/golang-lru) 11 | 12 | Example 13 | ======= 14 | 15 | Using the LRU is very simple: 16 | 17 | ```go 18 | l, _ := New(128) 19 | for i := 0; i < 256; i++ { 20 | l.Add(i, nil) 21 | } 22 | if l.Len() != 128 { 23 | panic(fmt.Sprintf("bad len: %v", l.Len())) 24 | } 25 | ``` 26 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/testing.go: -------------------------------------------------------------------------------- 1 | package lru 2 | 3 | import ( 4 | "crypto/rand" 5 | "math" 6 | "math/big" 7 | "testing" 8 | ) 9 | 10 | func getRand(tb testing.TB) int64 { 11 | out, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64)) 12 | if err != nil { 13 | tb.Fatal(err) 14 | } 15 | return out.Int64() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "build-{branch}-{build}" 2 | image: Visual Studio 2015 3 | clone_folder: c:\gopath\src\github.com\hashicorp\hcl 4 | environment: 5 | GOPATH: c:\gopath 6 | init: 7 | - git config --global core.autocrlf false 8 | install: 9 | - cmd: >- 10 | echo %Path% 11 | 12 | go version 13 | 14 | go env 15 | 16 | go get -t ./... 17 | 18 | build_script: 19 | - cmd: go test -v ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl.go: -------------------------------------------------------------------------------- 1 | // Package hcl decodes HCL into usable Go structures. 2 | // 3 | // hcl input can come in either pure HCL format or JSON format. 4 | // It can be parsed into an AST, and then decoded into a structure, 5 | // or it can be decoded directly from a string into a structure. 6 | // 7 | // If you choose to parse HCL into a raw AST, the benefit is that you 8 | // can write custom visitor implementations to implement custom 9 | // semantic checks. By default, HCL does not perform any semantic 10 | // checks. 11 | package hcl 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/lex.go: -------------------------------------------------------------------------------- 1 | package hcl 2 | 3 | import ( 4 | "unicode" 5 | "unicode/utf8" 6 | ) 7 | 8 | type lexModeValue byte 9 | 10 | const ( 11 | lexModeUnknown lexModeValue = iota 12 | lexModeHcl 13 | lexModeJson 14 | ) 15 | 16 | // lexMode returns whether we're going to be parsing in JSON 17 | // mode or HCL mode. 18 | func lexMode(v []byte) lexModeValue { 19 | var ( 20 | r rune 21 | w int 22 | offset int 23 | ) 24 | 25 | for { 26 | r, w = utf8.DecodeRune(v[offset:]) 27 | offset += w 28 | if unicode.IsSpace(r) { 29 | continue 30 | } 31 | if r == '{' { 32 | return lexModeJson 33 | } 34 | break 35 | } 36 | 37 | return lexModeHcl 38 | } 39 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [[projects]] 11 | name = "github.com/modern-go/reflect2" 12 | packages = ["."] 13 | revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" 14 | version = "1.0.1" 15 | 16 | [solve-meta] 17 | analyzer-name = "dep" 18 | analyzer-version = 1 19 | inputs-digest = "ea54a775e5a354cb015502d2e7aa4b74230fc77e894f34a838b268c25ec8eeb8" 20 | solver-name = "gps-cdcl" 21 | solver-version = 1 22 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/bench 2 | 3 | # These explicitly listed benchmark data files are for an obsolete version of 4 | # snappy_test.go. 5 | testdata/alice29.txt 6 | testdata/asyoulik.txt 7 | testdata/fireworks.jpeg 8 | testdata/geo.protodata 9 | testdata/html 10 | testdata/html_x_4 11 | testdata/kppkn.gtb 12 | testdata/lcet10.txt 13 | testdata/paper-100k.pdf 14 | testdata/plrabn12.txt 15 | testdata/urls.10K 16 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/s2/decode_asm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Snappy-Go Authors. All rights reserved. 2 | // Copyright (c) 2019 Klaus Post. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | //go:build (amd64 || arm64) && !appengine && gc && !noasm 7 | // +build amd64 arm64 8 | // +build !appengine 9 | // +build gc 10 | // +build !noasm 11 | 12 | package s2 13 | 14 | // decode has the same semantics as in decode_other.go. 15 | // 16 | //go:noescape 17 | func s2Decode(dst, src []byte) int 18 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/detect_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file. 2 | 3 | //go:build (!amd64 && !386 && !arm64) || gccgo || noasm || appengine 4 | // +build !amd64,!386,!arm64 gccgo noasm appengine 5 | 6 | package cpuid 7 | 8 | func initCPU() { 9 | cpuid = func(uint32) (a, b, c, d uint32) { return 0, 0, 0, 0 } 10 | cpuidex = func(x, y uint32) (a, b, c, d uint32) { return 0, 0, 0, 0 } 11 | xgetbv = func(uint32) (a, b uint32) { return 0, 0 } 12 | rdtscpAsm = func() (a, b, c, d uint32) { return 0, 0, 0, 0 } 13 | } 14 | 15 | func addInfo(info *CPUInfo, safe bool) {} 16 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/os_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020 Klaus Post, released under MIT License. See LICENSE file. 2 | 3 | //go:build arm64 && !linux && !darwin 4 | // +build arm64,!linux,!darwin 5 | 6 | package cpuid 7 | 8 | import "runtime" 9 | 10 | func detectOS(c *CPUInfo) bool { 11 | c.PhysicalCores = runtime.NumCPU() 12 | // For now assuming 1 thread per core... 13 | c.ThreadsPerCore = 1 14 | c.LogicalCores = c.PhysicalCores 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/os_safe_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file. 2 | 3 | //go:build nounsafe 4 | // +build nounsafe 5 | 6 | package cpuid 7 | 8 | var hwcap uint 9 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file. 2 | 3 | //go:build !nounsafe 4 | // +build !nounsafe 5 | 6 | package cpuid 7 | 8 | import _ "unsafe" // needed for go:linkname 9 | 10 | //go:linkname hwcap internal/cpu.HWCap 11 | var hwcap uint 12 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/v2/test-architectures.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | go tool dist list | while IFS=/ read os arch; do 6 | echo "Checking $os/$arch..." 7 | echo " normal" 8 | GOARCH=$arch GOOS=$os go build -o /dev/null . 9 | echo " noasm" 10 | GOARCH=$arch GOOS=$os go build -tags noasm -o /dev/null . 11 | echo " appengine" 12 | GOARCH=$arch GOOS=$os go build -tags appengine -o /dev/null . 13 | echo " noasm,appengine" 14 | GOARCH=$arch GOOS=$os go build -tags 'appengine noasm' -o /dev/null . 15 | done 16 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/matterbridge/logrus-prefixed-formatter/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | 26 | # IDEA files 27 | .idea 28 | *.iml 29 | 30 | # OS X 31 | .DS_Store 32 | 33 | # Unit testing 34 | *.coverprofile 35 | -------------------------------------------------------------------------------- /vendor/github.com/matterbridge/logrus-prefixed-formatter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5 5 | - 1.6 6 | - 1.7 7 | 8 | install: 9 | - make deps 10 | 11 | script: 12 | - make test 13 | 14 | sudo: false 15 | -------------------------------------------------------------------------------- /vendor/github.com/matterbridge/logrus-prefixed-formatter/Makefile: -------------------------------------------------------------------------------- 1 | NAME=logrus-prefixed-formatter 2 | PACKAGES=$(shell go list ./...) 3 | 4 | deps: 5 | @echo "--> Installing dependencies" 6 | @go get -d -v -t ./... 7 | 8 | test-deps: 9 | @which ginkgo 2>/dev/null ; if [ $$? -eq 1 ]; then \ 10 | go get -u -v github.com/onsi/ginkgo/ginkgo; \ 11 | fi 12 | 13 | test: test-deps 14 | @echo "--> Running tests" 15 | @ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race 16 | 17 | format: 18 | @echo "--> Running go fmt" 19 | @go fmt $(PACKAGES) 20 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/mattermost/ldap/.gitignore -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | We welcome contribution and improvements. 4 | 5 | ## Guiding Principles 6 | 7 | To begin with here is a draft from an email exchange: 8 | 9 | * take compatibility seriously (our semvers, compatibility with older go versions, etc) 10 | * don't tag untested code for release 11 | * beware of baking in implicit behavior based on other libraries/tools choices 12 | * be as high-fidelity as possible in plumbing through LDAP data (don't mask errors or reduce power of someone using the library) 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package ldap provides basic LDAP v3 functionality. 3 | */ 4 | package ldap 5 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | debug 7 | dynip 8 | 9 | # Test binary, build with `go test -c` 10 | *.test 11 | 12 | # Output of the go coverage tool, specifically when used with LiteIDE 13 | *.out 14 | 15 | # Output of profiler 16 | *.prof 17 | 18 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 19 | .glide/ 20 | 21 | # IntelliJ config 22 | .idea 23 | 24 | # log files 25 | *.log 26 | 27 | # transient directories 28 | vendor 29 | output 30 | build 31 | app 32 | logs 33 | 34 | # test apps 35 | test/cmd/testapp1/testapp1 36 | test/cmd/simple/simple 37 | test/cmd/gelf/gelf 38 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.x -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/v2/buffer.go: -------------------------------------------------------------------------------- 1 | package logr 2 | 3 | import ( 4 | "bytes" 5 | "sync" 6 | ) 7 | 8 | // Buffer provides a thread-safe buffer useful for logging to memory in unit tests. 9 | type Buffer struct { 10 | buf bytes.Buffer 11 | mux sync.Mutex 12 | } 13 | 14 | func (b *Buffer) Read(p []byte) (n int, err error) { 15 | b.mux.Lock() 16 | defer b.mux.Unlock() 17 | return b.buf.Read(p) 18 | } 19 | func (b *Buffer) Write(p []byte) (n int, err error) { 20 | b.mux.Lock() 21 | defer b.mux.Unlock() 22 | return b.buf.Write(p) 23 | } 24 | func (b *Buffer) String() string { 25 | b.mux.Lock() 26 | defer b.mux.Unlock() 27 | return b.buf.String() 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/v2/filter.go: -------------------------------------------------------------------------------- 1 | package logr 2 | 3 | // Filter allows targets to determine which Level(s) are active 4 | // for logging and which Level(s) require a stack trace to be output. 5 | // A default implementation using "panic, fatal..." is provided, and 6 | // a more flexible alternative implementation is also provided that 7 | // allows any number of custom levels. 8 | type Filter interface { 9 | GetEnabledLevel(level Level) (Level, bool) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/analytics_row.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type AnalyticsRow struct { 7 | Name string `json:"name"` 8 | Value float64 `json:"value"` 9 | } 10 | 11 | type AnalyticsRows []*AnalyticsRow 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/audit.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type Audit struct { 7 | Id string `json:"id"` 8 | CreateAt int64 `json:"create_at"` 9 | UserId string `json:"user_id"` 10 | Action string `json:"action"` 11 | ExtraInfo string `json:"extra_info"` 12 | IpAddress string `json:"ip_address"` 13 | SessionId string `json:"session_id"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/audits.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type Audits []Audit 7 | 8 | func (o Audits) Etag() string { 9 | if len(o) > 0 { 10 | // the first in the list is always the most current 11 | return Etag(o[0].CreateAt) 12 | } 13 | return "" 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/builtin.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | func NewBool(b bool) *bool { return &b } 7 | func NewInt(n int) *int { return &n } 8 | func NewInt64(n int64) *int64 { return &n } 9 | func NewString(s string) *string { return &s } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/bulk_export.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | // ExportDataDir is the name of the directory were to store additional data 7 | // included with the export (e.g. file attachments). 8 | const ExportDataDir = "data" 9 | 10 | type BulkExportOpts struct { 11 | IncludeAttachments bool 12 | CreateArchive bool 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/channel_data.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ChannelData struct { 7 | Channel *Channel `json:"channel"` 8 | Member *ChannelMember `json:"member"` 9 | } 10 | 11 | func (o *ChannelData) Etag() string { 12 | var mt int64 = 0 13 | if o.Member != nil { 14 | mt = o.Member.LastUpdateAt 15 | } 16 | 17 | return Etag(o.Channel.Id, o.Channel.UpdateAt, o.Channel.LastPostAt, mt) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/channel_member_history.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ChannelMemberHistory struct { 7 | ChannelId string 8 | UserId string 9 | JoinTime int64 10 | LeaveTime *int64 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/channel_member_history_result.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ChannelMemberHistoryResult struct { 7 | ChannelId string 8 | UserId string 9 | JoinTime int64 10 | LeaveTime *int64 11 | 12 | // these two fields are never set in the database - when we SELECT, we join on Users to get them 13 | UserEmail string `db:"Email"` 14 | Username string 15 | IsBot bool 16 | UserDeleteAt int64 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/channel_view.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ChannelView struct { 7 | ChannelId string `json:"channel_id"` 8 | PrevChannelId string `json:"prev_channel_id"` 9 | CollapsedThreadsSupported bool `json:"collapsed_threads_supported"` 10 | } 11 | 12 | type ChannelViewResponse struct { 13 | Status string `json:"status"` 14 | LastViewedAtTimes map[string]int64 `json:"last_viewed_at_times"` 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/cluster_info.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ClusterInfo struct { 7 | Id string `json:"id"` 8 | Version string `json:"version"` 9 | ConfigHash string `json:"config_hash"` 10 | IPAddress string `json:"ipaddress"` 11 | Hostname string `json:"hostname"` 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/cluster_stats.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ClusterStats struct { 7 | Id string `json:"id"` 8 | TotalWebsocketConnections int `json:"total_websocket_connections"` 9 | TotalReadDbConnections int `json:"total_read_db_connections"` 10 | TotalMasterDbConnections int `json:"total_master_db_connections"` 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/command_request.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type CommandMoveRequest struct { 7 | TeamId string `json:"team_id"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/emoji_search.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type EmojiSearch struct { 7 | Term string `json:"term"` 8 | PrefixOnly bool `json:"prefix_only"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/file.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | const ( 7 | MaxImageSize = int64(6048 * 4032) // 24 megapixels, roughly 36MB as a raw image 8 | ) 9 | 10 | type FileUploadResponse struct { 11 | FileInfos []*FileInfo `json:"file_infos"` 12 | ClientIds []string `json:"client_ids"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/file_info_search_results.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type FileInfoSearchMatches map[string][]string 7 | 8 | type FileInfoSearchResults struct { 9 | *FileInfoList 10 | Matches FileInfoSearchMatches `json:"matches"` 11 | } 12 | 13 | func MakeFileInfoSearchResults(fileInfos *FileInfoList, matches FileInfoSearchMatches) *FileInfoSearchResults { 14 | return &FileInfoSearchResults{ 15 | fileInfos, 16 | matches, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/gitlab.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | const ( 7 | UserAuthServiceGitlab = "gitlab" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/initial_load.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type InitialLoad struct { 7 | User *User `json:"user"` 8 | TeamMembers []*TeamMember `json:"team_members"` 9 | Teams []*Team `json:"teams"` 10 | Preferences Preferences `json:"preferences"` 11 | ClientCfg map[string]string `json:"client_cfg"` 12 | LicenseCfg map[string]string `json:"license_cfg"` 13 | NoAccounts bool `json:"no_accounts"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/ldap.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | const ( 7 | UserAuthServiceLdap = "ldap" 8 | LdapPublicCertificateName = "ldap-public.crt" 9 | LdapPrivateKeyName = "ldap-private.key" 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/mfa_secret.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type MfaSecret struct { 7 | Secret string `json:"secret"` 8 | QRCode string `json:"qr_code"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/plugin_event_data.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | // PluginEventData used to notify peers about plugin changes. 7 | type PluginEventData struct { 8 | Id string `json:"id"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/plugin_on_install_event.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | // OnInstallEvent is sent to the plugin when it gets installed. 7 | type OnInstallEvent struct { 8 | UserId string // The user who installed the plugin 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/plugins_response.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type PluginInfo struct { 7 | Manifest 8 | } 9 | 10 | type PluginsResponse struct { 11 | Active []*PluginInfo `json:"active"` 12 | Inactive []*PluginInfo `json:"inactive"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/security_bulletin.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type SecurityBulletin struct { 7 | Id string `json:"id"` 8 | AppliesToVersion string `json:"applies_to_version"` 9 | } 10 | 11 | type SecurityBulletins []SecurityBulletin 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/suggest_command.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type SuggestCommand struct { 7 | Suggestion string `json:"suggestion"` 8 | Description string `json:"description"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/team_stats.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type TeamStats struct { 7 | TeamId string `json:"team_id"` 8 | TotalMemberCount int64 `json:"total_member_count"` 9 | ActiveMemberCount int64 `json:"active_member_count"` 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/typing_request.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type TypingRequest struct { 7 | ChannelId string `json:"channel_id"` 8 | ParentId string `json:"parent_id"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/user_access_token_search.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type UserAccessTokenSearch struct { 7 | Term string `json:"term"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/user_autocomplete.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type UserAutocompleteInChannel struct { 7 | InChannel []*User `json:"in_channel"` 8 | OutOfChannel []*User `json:"out_of_channel"` 9 | } 10 | 11 | type UserAutocompleteInTeam struct { 12 | InTeam []*User `json:"in_team"` 13 | } 14 | 15 | type UserAutocomplete struct { 16 | Users []*User `json:"users"` 17 | OutOfChannel []*User `json:"out_of_channel,omitempty"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/model/users_stats.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type UsersStats struct { 7 | TotalUsersCount int64 `json:"total_users_count"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/shared/markdown/document.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package markdown 5 | 6 | type Document struct { 7 | blockBase 8 | 9 | Children []Block 10 | } 11 | 12 | func (b *Document) Continuation(indentation int, r Range) *continuation { 13 | return &continuation{ 14 | Indentation: indentation, 15 | Remaining: r, 16 | } 17 | } 18 | 19 | func (b *Document) AddChild(openBlocks []Block) []Block { 20 | b.Children = append(b.Children, openBlocks[0]) 21 | return openBlocks 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/mattermost-server/v6/shared/mlog/graphql.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package mlog 5 | 6 | import ( 7 | "context" 8 | ) 9 | 10 | // GraphQLLogger is used to log panics that occur during query execution. 11 | type GraphQLLogger struct { 12 | logger *Logger 13 | } 14 | 15 | func NewGraphQLLogger(logger *Logger) *GraphQLLogger { 16 | return &GraphQLLogger{logger: logger} 17 | } 18 | 19 | // LogPanic satisfies the graphql/log.Logger interface. 20 | // It converts the panic into an error. 21 | func (l *GraphQLLogger) LogPanic(_ context.Context, value interface{}) { 22 | l.logger.Error("Error while executing GraphQL query", Any("error", value)) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine 2 | // +build darwin freebsd openbsd netbsd dragonfly hurd 3 | // +build !appengine 4 | 5 | package isatty 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | // IsTerminal return true if the file descriptor is terminal. 10 | func IsTerminal(fd uintptr) bool { 11 | _, err := unix.IoctlGetTermios(int(fd), unix.TIOCGETA) 12 | return err == nil 13 | } 14 | 15 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 16 | // terminal. This is also always false on this environment. 17 | func IsCygwinTerminal(fd uintptr) bool { 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_others.go: -------------------------------------------------------------------------------- 1 | //go:build appengine || js || nacl || wasm 2 | // +build appengine js nacl wasm 3 | 4 | package isatty 5 | 6 | // IsTerminal returns true if the file descriptor is terminal which 7 | // is always false on js and appengine classic which is a sandboxed PaaS. 8 | func IsTerminal(fd uintptr) bool { 9 | return false 10 | } 11 | 12 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 13 | // terminal. This is also always false on this environment. 14 | func IsCygwinTerminal(fd uintptr) bool { 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_plan9.go: -------------------------------------------------------------------------------- 1 | //go:build plan9 2 | // +build plan9 3 | 4 | package isatty 5 | 6 | import ( 7 | "syscall" 8 | ) 9 | 10 | // IsTerminal returns true if the given file descriptor is a terminal. 11 | func IsTerminal(fd uintptr) bool { 12 | path, err := syscall.Fd2path(int(fd)) 13 | if err != nil { 14 | return false 15 | } 16 | return path == "/dev/cons" || path == "/mnt/term/dev/cons" 17 | } 18 | 19 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 20 | // terminal. This is also always false on this environment. 21 | func IsCygwinTerminal(fd uintptr) bool { 22 | return false 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_solaris.go: -------------------------------------------------------------------------------- 1 | //go:build solaris && !appengine 2 | // +build solaris,!appengine 3 | 4 | package isatty 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | // IsTerminal returns true if the given file descriptor is a terminal. 11 | // see: https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/isatty.c 12 | func IsTerminal(fd uintptr) bool { 13 | _, err := unix.IoctlGetTermio(int(fd), unix.TCGETA) 14 | return err == nil 15 | } 16 | 17 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 18 | // terminal. This is also always false on this environment. 19 | func IsCygwinTerminal(fd uintptr) bool { 20 | return false 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_tcgets.go: -------------------------------------------------------------------------------- 1 | //go:build (linux || aix || zos) && !appengine 2 | // +build linux aix zos 3 | // +build !appengine 4 | 5 | package isatty 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | // IsTerminal return true if the file descriptor is terminal. 10 | func IsTerminal(fd uintptr) bool { 11 | _, err := unix.IoctlGetTermios(int(fd), unix.TCGETS) 12 | return err == nil 13 | } 14 | 15 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 16 | // terminal. This is also always false on this environment. 17 | func IsCygwinTerminal(fd uintptr) bool { 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-mastodon/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-mastodon/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-mastodon/unixtime.go: -------------------------------------------------------------------------------- 1 | package mastodon 2 | 3 | import ( 4 | "strconv" 5 | "time" 6 | ) 7 | 8 | type Unixtime time.Time 9 | 10 | func (t *Unixtime) UnmarshalJSON(data []byte) error { 11 | if len(data) > 0 && data[0] == '"' && data[len(data)-1] == '"' { 12 | data = data[1 : len(data)-1] 13 | } 14 | ts, err := strconv.ParseInt(string(data), 10, 64) 15 | if err != nil { 16 | return err 17 | } 18 | *t = Unixtime(time.Unix(ts, 0)) 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.13.x 5 | - tip 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - go generate 12 | - git diff --cached --exit-code 13 | - ./go.test.sh 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package runewidth 4 | 5 | // IsEastAsian return true if the current locale is CJK 6 | func IsEastAsian() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | // +build !appengine 3 | 4 | package runewidth 5 | 6 | func IsEastAsian() bool { 7 | // TODO: Implement this for the web. Detect east asian in a compatible way, and return true. 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | // +build !appengine 3 | 4 | package runewidth 5 | 6 | import ( 7 | "syscall" 8 | ) 9 | 10 | var ( 11 | kernel32 = syscall.NewLazyDLL("kernel32") 12 | procGetConsoleOutputCP = kernel32.NewProc("GetConsoleOutputCP") 13 | ) 14 | 15 | // IsEastAsian return true if the current locale is CJK 16 | func IsEastAsian() bool { 17 | r1, _, _ := procGetConsoleOutputCP.Call() 18 | if r1 == 0 { 19 | return false 20 | } 21 | 22 | switch int(r1) { 23 | case 932, 51932, 936, 949, 950: 24 | return true 25 | } 26 | 27 | return false 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/mgutz/ansi/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/minio/md5-simd/md5-server_fallback.go: -------------------------------------------------------------------------------- 1 | //+build !amd64 appengine !gc noasm 2 | 3 | // Copyright (c) 2020 MinIO Inc. All rights reserved. 4 | // Use of this source code is governed by a license that can be 5 | // found in the LICENSE file. 6 | 7 | package md5simd 8 | 9 | // NewServer - Create new object for parallel processing handling 10 | func NewServer() *fallbackServer { 11 | return &fallbackServer{} 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/minio/md5-simd/md5block_amd64.go: -------------------------------------------------------------------------------- 1 | // Code generated by command: go run gen.go -out ../md5block_amd64.s -stubs ../md5block_amd64.go -pkg=md5simd. DO NOT EDIT. 2 | 3 | // +build !appengine 4 | // +build !noasm 5 | // +build gc 6 | 7 | package md5simd 8 | 9 | // Encode p to digest 10 | //go:noescape 11 | func blockScalar(dig *[4]uint32, p []byte) 12 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.test 3 | validator 4 | golangci-lint -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | misspell: 3 | locale: US 4 | 5 | linters: 6 | disable-all: true 7 | enable: 8 | - typecheck 9 | - goimports 10 | - misspell 11 | - revive 12 | - govet 13 | - ineffassign 14 | - gosimple 15 | - deadcode 16 | - structcheck 17 | - gocritic 18 | 19 | issues: 20 | exclude-use-default: false 21 | exclude: 22 | # todo fix these when we get enough time. 23 | - "singleCaseSwitch: should rewrite switch statement to if statement" 24 | - "unlambda: replace" 25 | - "captLocal:" 26 | - "ifElseChain:" 27 | - "elseif:" 28 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/CNAME: -------------------------------------------------------------------------------- 1 | minio-go.min.io -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/NOTICE: -------------------------------------------------------------------------------- 1 | MinIO Cloud Storage, (C) 2014-2020 MinIO, Inc. 2 | 3 | This product includes software developed at MinIO, Inc. 4 | (https://min.io/). 5 | 6 | The MinIO project contains unmodified/modified subcomponents too with 7 | separate copyright notices and license terms. Your use of the source 8 | code for these subcomponents is subject to the terms and conditions 9 | of Apache License Version 2.0 10 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/pkg/credentials/config.json.sample: -------------------------------------------------------------------------------- 1 | { 2 | "version": "8", 3 | "hosts": { 4 | "play": { 5 | "url": "https://play.min.io", 6 | "accessKey": "Q3AM3UQ867SPQQA43P2F", 7 | "secretKey": "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", 8 | "api": "S3v2" 9 | }, 10 | "s3": { 11 | "url": "https://s3.amazonaws.com", 12 | "accessKey": "accessKey", 13 | "secretKey": "secret", 14 | "api": "S3v4" 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/pkg/credentials/credentials.sample: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/.gitignore: -------------------------------------------------------------------------------- 1 | *.test -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/sha256blockSha_amd64.go: -------------------------------------------------------------------------------- 1 | //+build !noasm,!appengine,gc 2 | 3 | package sha256 4 | 5 | //go:noescape 6 | func blockSha(h *[8]uint32, message []uint8) 7 | -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/test-architectures.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | go tool dist list | while IFS=/ read os arch; do 6 | echo "Checking $os/$arch..." 7 | echo " normal" 8 | GOARCH=$arch GOOS=$os go build -o /dev/null ./... 9 | echo " noasm" 10 | GOARCH=$arch GOOS=$os go build -tags noasm -o /dev/null ./... 11 | echo " appengine" 12 | GOARCH=$arch GOOS=$os go build -tags appengine -o /dev/null ./... 13 | echo " noasm,appengine" 14 | GOARCH=$arch GOOS=$os go build -tags 'appengine noasm' -o /dev/null ./... 15 | done 16 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/executor.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import "context" 4 | 5 | // Executor replace go keyword to start a new goroutine 6 | // the goroutine should cancel itself if the context passed in has been cancelled 7 | // the goroutine started by the executor, is owned by the executor 8 | // we can cancel all executors owned by the executor just by stop the executor itself 9 | // however Executor interface does not Stop method, the one starting and owning executor 10 | // should use the concrete type of executor, instead of this interface. 11 | type Executor interface { 12 | // Go starts a new goroutine controlled by the context 13 | Go(handler func(ctx context.Context)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.9.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [solve-meta] 5 | analyzer-name = "dep" 6 | analyzer-version = 1 7 | input-imports = [] 8 | solver-name = "gps-cdcl" 9 | solver-version = 1 10 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_118.go: -------------------------------------------------------------------------------- 1 | //+build go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer, it *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | var it hiter 17 | mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj), &it) 18 | return &UnsafeMapIterator{ 19 | hiter: &it, 20 | pKeyRType: type2.pKeyRType, 21 | pElemRType: type2.pElemRType, 22 | } 23 | } -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname resolveTypeOff reflect.resolveTypeOff 10 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 11 | 12 | //go:linkname makemap reflect.makemap 13 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 14 | 15 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 16 | return makemap(rtype, cap) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_118.go: -------------------------------------------------------------------------------- 1 | //+build !go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | return &UnsafeMapIterator{ 17 | hiter: mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj)), 18 | pKeyRType: type2.pKeyRType, 19 | pElemRType: type2.pElemRType, 20 | } 21 | } -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/reflect2_amd64.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_386.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_arm.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_arm64.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/modern-go/reflect2/relfect2_s390x.s -------------------------------------------------------------------------------- /vendor/github.com/muesli/reflow/ansi/ansi.go: -------------------------------------------------------------------------------- 1 | package ansi 2 | 3 | const Marker = '\x1B' 4 | 5 | func IsTerminator(c rune) bool { 6 | return (c >= 0x40 && c <= 0x5a) || (c >= 0x61 && c <= 0x7a) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | matrix: 4 | include: 5 | - go: "1.13.x" 6 | - go: "1.14.x" 7 | - go: "tip" 8 | env: 9 | - LINT=true 10 | - COVERAGE=true 11 | 12 | install: 13 | - if [ "$LINT" == true ]; then go get -u golang.org/x/lint/golint/... ; else echo 'skipping lint'; fi 14 | - go get -u github.com/stretchr/testify/... 15 | 16 | script: 17 | - make test 18 | - go build ./... 19 | - if [ "$LINT" == true ]; then make lint ; else echo 'skipping lint'; fi 20 | - if [ "$COVERAGE" == true ]; then make cover && bash <(curl -s https://codecov.io/bash) ; else echo 'skipping coverage'; fi 21 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/Makefile: -------------------------------------------------------------------------------- 1 | .DEFAULT_GOAL := test-and-lint 2 | 3 | .PHONY: test-and-lint 4 | test-and-lint: test lint 5 | 6 | .PHONY: test 7 | test: 8 | go test -v -cover -race ./... 9 | 10 | .PHONY: cover 11 | cover: 12 | go test -v -coverprofile=coverage.txt -covermode=atomic -race ./... 13 | 14 | .PHONY: lint 15 | lint: 16 | go fmt ./... 17 | golint ./... 18 | @# Run again with magic to exit non-zero if golint outputs anything. 19 | @! (golint ./... | read dummy) 20 | go vet ./... 21 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/ext/field.go: -------------------------------------------------------------------------------- 1 | package ext 2 | 3 | import ( 4 | "github.com/opentracing/opentracing-go" 5 | "github.com/opentracing/opentracing-go/log" 6 | ) 7 | 8 | // LogError sets the error=true tag on the Span and logs err as an "error" event. 9 | func LogError(span opentracing.Span, err error, fields ...log.Field) { 10 | Error.Set(span, true) 11 | ef := []log.Field{ 12 | log.Event("error"), 13 | log.Error(err), 14 | } 15 | ef = append(ef, fields...) 16 | span.LogFields(ef...) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.9" 5 | - "1.10" 6 | - "1.11" 7 | - tip 8 | 9 | script: 10 | - go test -v ./... 11 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // The uuid package generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // This package is a partial wrapper around the github.com/google/uuid package. 11 | // This package represents a UUID as []byte while github.com/google/uuid 12 | // represents a UUID as [16]byte. 13 | package uuid 14 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.12-alpine3.9 as builder 2 | WORKDIR /go/src/github.com/pelletier/go-toml 3 | COPY . . 4 | ENV CGO_ENABLED=0 5 | ENV GOOS=linux 6 | RUN go install ./... 7 | 8 | FROM scratch 9 | COPY --from=builder /go/bin/tomll /usr/bin/tomll 10 | COPY --from=builder /go/bin/tomljson /usr/bin/tomljson 11 | COPY --from=builder /go/bin/jsontoml /usr/bin/jsontoml 12 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Issue:** add link to pelletier/go-toml issue here 2 | 3 | Explanation of what this pull request does. 4 | 5 | More detailed description of the decisions being made and the reasons why (if the patch is non-trivial). 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package toml 4 | 5 | func Fuzz(data []byte) int { 6 | tree, err := LoadBytes(data) 7 | if err != nil { 8 | if tree != nil { 9 | panic("tree must be nil if there is an error") 10 | } 11 | return 0 12 | } 13 | 14 | str, err := tree.ToTomlString() 15 | if err != nil { 16 | if str != "" { 17 | panic(`str must be "" if there is an error`) 18 | } 19 | panic(err) 20 | } 21 | 22 | tree, err = Load(str) 23 | if err != nil { 24 | if tree != nil { 25 | panic("tree must be nil if there is an error") 26 | } 27 | return 0 28 | } 29 | 30 | return 1 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/tomltree_writepub.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | // ValueStringRepresentation transforms an interface{} value into its toml string representation. 4 | func ValueStringRepresentation(v interface{}, commented string, indent string, ord MarshalOrder, arraysOneElementPerLine bool) (string, error) { 5 | return tomlValueStringRepresentation(v, commented, indent, ord, arraysOneElementPerLine) 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | benchmark/benchmark.toml text eol=lf 4 | testdata/** text eol=lf 5 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | dist -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | ENV PATH "$PATH:/bin" 3 | COPY tomll /bin/tomll 4 | COPY tomljson /bin/tomljson 5 | COPY jsontoml /bin/jsontoml 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package toml is a library to read and write TOML documents. 2 | package toml 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go: -------------------------------------------------------------------------------- 1 | package tracker 2 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/types.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | import ( 4 | "encoding" 5 | "reflect" 6 | "time" 7 | ) 8 | 9 | var timeType = reflect.TypeOf((*time.Time)(nil)).Elem() 10 | var textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem() 11 | var textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem() 12 | var mapStringInterfaceType = reflect.TypeOf(map[string]interface{}(nil)) 13 | var sliceInterfaceType = reflect.TypeOf([]interface{}(nil)) 14 | var stringType = reflect.TypeOf("") 15 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/unstable/doc.go: -------------------------------------------------------------------------------- 1 | // Package unstable provides APIs that do not meet the backward compatibility 2 | // guarantees yet. 3 | package unstable 4 | -------------------------------------------------------------------------------- /vendor/github.com/philhofer/fwd/writer_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package fwd 4 | 5 | func unsafestr(s string) []byte { return []byte(s) } 6 | -------------------------------------------------------------------------------- /vendor/github.com/philhofer/fwd/writer_unsafe.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | 3 | package fwd 4 | 5 | import ( 6 | "reflect" 7 | "unsafe" 8 | ) 9 | 10 | // unsafe cast string as []byte 11 | func unsafestr(b string) []byte { 12 | l := len(b) 13 | return *(*[]byte)(unsafe.Pointer(&reflect.SliceHeader{ 14 | Len: l, 15 | Cap: l, 16 | Data: (*reflect.StringHeader)(unsafe.Pointer(&b)).Data, 17 | })) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/github.com/rivo/uniseg/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package uniseg implements Unicode Text Segmentation according to Unicode 3 | Standard Annex #29 (http://unicode.org/reports/tr29/). 4 | 5 | At this point, only the determination of grapheme cluster boundaries is 6 | implemented. 7 | */ 8 | package uniseg 9 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/.appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.0.0.{build} 2 | 3 | platform: x64 4 | 5 | branches: 6 | only: 7 | - master 8 | 9 | clone_folder: c:\gopath\src\github.com\rs\xid 10 | 11 | environment: 12 | GOPATH: c:\gopath 13 | 14 | install: 15 | - echo %PATH% 16 | - echo %GOPATH% 17 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 18 | - go version 19 | - go env 20 | - go get -t . 21 | 22 | build_script: 23 | - go build 24 | 25 | test_script: 26 | - go test 27 | 28 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.9" 4 | - "1.10" 5 | - "master" 6 | matrix: 7 | allow_failures: 8 | - go: "master" 9 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/error.go: -------------------------------------------------------------------------------- 1 | package xid 2 | 3 | const ( 4 | // ErrInvalidID is returned when trying to unmarshal an invalid ID. 5 | ErrInvalidID strErr = "xid: invalid ID" 6 | ) 7 | 8 | // strErr allows declaring errors as constants. 9 | type strErr string 10 | 11 | func (err strErr) Error() string { return string(err) } 12 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_darwin.go: -------------------------------------------------------------------------------- 1 | // +build darwin 2 | 3 | package xid 4 | 5 | import "syscall" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return syscall.Sysctl("kern.uuid") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_fallback.go: -------------------------------------------------------------------------------- 1 | // +build !darwin,!linux,!freebsd,!windows 2 | 3 | package xid 4 | 5 | import "errors" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return "", errors.New("not implemented") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build freebsd 2 | 3 | package xid 4 | 5 | import "syscall" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return syscall.Sysctl("kern.hostuuid") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package xid 4 | 5 | import "io/ioutil" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | b, err := ioutil.ReadFile("/etc/machine-id") 9 | if err != nil || len(b) == 0 { 10 | b, err = ioutil.ReadFile("/sys/class/dmi/id/product_uuid") 11 | } 12 | return string(b), err 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [{Makefile,*.mk}] 12 | indent_style = tab 13 | 14 | [*.nix] 15 | indent_size = 2 16 | 17 | [*.go] 18 | indent_style = tab 19 | 20 | [{*.yml,*.yaml}] 21 | indent_size = 2 22 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.task/ 4 | /bin/ 5 | /build/ 6 | /tmp/ 7 | /var/ 8 | /vendor/ 9 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/file_type.go: -------------------------------------------------------------------------------- 1 | package locafero 2 | 3 | import "io/fs" 4 | 5 | // FileType represents the kind of entries [Finder] can return. 6 | type FileType int 7 | 8 | const ( 9 | FileTypeAll FileType = iota 10 | FileTypeFile 11 | FileTypeDir 12 | ) 13 | 14 | func (ft FileType) matchFileInfo(info fs.FileInfo) bool { 15 | switch ft { 16 | case FileTypeAll: 17 | return true 18 | 19 | case FileTypeFile: 20 | return !info.IsDir() 21 | 22 | case FileTypeDir: 23 | return info.IsDir() 24 | 25 | default: 26 | return false 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/locafero/justfile: -------------------------------------------------------------------------------- 1 | default: 2 | just --list 3 | 4 | test: 5 | go test -race -v ./... 6 | 7 | lint: 8 | golangci-lint run 9 | 10 | fmt: 11 | golangci-lint run --fix 12 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.nix] 12 | indent_size = 2 13 | 14 | [{Makefile,*.mk}] 15 | indent_style = tab 16 | 17 | [Taskfile.yaml] 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.task/ 4 | /build/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/sagikazarmark/slog-shim/json_handler.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.21 6 | 7 | package slog 8 | 9 | import ( 10 | "io" 11 | "log/slog" 12 | ) 13 | 14 | // JSONHandler is a Handler that writes Records to an io.Writer as 15 | // line-delimited JSON objects. 16 | type JSONHandler = slog.JSONHandler 17 | 18 | // NewJSONHandler creates a JSONHandler that writes to w, 19 | // using the given options. 20 | // If opts is nil, the default options are used. 21 | func NewJSONHandler(w io.Writer, opts *HandlerOptions) *JSONHandler { 22 | return slog.NewJSONHandler(w, opts) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/sirupsen/logrus 3 | git: 4 | depth: 1 5 | env: 6 | - GO111MODULE=on 7 | go: 1.15.x 8 | os: linux 9 | install: 10 | - ./travis/install.sh 11 | script: 12 | - cd ci 13 | - go run mage.go -v -w ../ crossBuild 14 | - go run mage.go -v -w ../ lint 15 | - go run mage.go -v -w ../ test 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package logrus is a structured logger for Go, completely API compatible with the standard library logger. 3 | 4 | 5 | The simplest way to use Logrus is simply the package-level exported logger: 6 | 7 | package main 8 | 9 | import ( 10 | log "github.com/sirupsen/logrus" 11 | ) 12 | 13 | func main() { 14 | log.WithFields(log.Fields{ 15 | "animal": "walrus", 16 | "number": 1, 17 | "size": 10, 18 | }).Info("A walrus appears") 19 | } 20 | 21 | Output: 22 | time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 23 | 24 | For a full guide visit https://github.com/sirupsen/logrus 25 | */ 26 | package logrus 27 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_windows.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | 9 | "golang.org/x/sys/windows" 10 | ) 11 | 12 | func checkIfTerminal(w io.Writer) bool { 13 | switch v := w.(type) { 14 | case *os.File: 15 | handle := windows.Handle(v.Fd()) 16 | var mode uint32 17 | if err := windows.GetConsoleMode(handle, &mode); err != nil { 18 | return false 19 | } 20 | mode |= windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING 21 | if err := windows.SetConsoleMode(handle, mode); err != nil { 22 | return false 23 | } 24 | return true 25 | } 26 | return false 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *~ 3 | .idea/ 4 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 6m 3 | issues-exit-code: 1 4 | linters: 5 | disable-all: true 6 | enable: 7 | - goimports 8 | - govet 9 | - interfacer 10 | - misspell 11 | - structcheck 12 | - unconvert 13 | issues: 14 | new: true 15 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/TODO.txt: -------------------------------------------------------------------------------- 1 | - Add more tests!!! 2 | - Add support to have markdown hints 3 | - See section Message Formatting at https://api.slack.com/docs/formatting 4 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/block_divider.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // DividerBlock for displaying a divider line between blocks (similar to
tag in html) 4 | // 5 | // More Information: https://api.slack.com/reference/messaging/blocks#divider 6 | type DividerBlock struct { 7 | Type MessageBlockType `json:"type"` 8 | BlockID string `json:"block_id,omitempty"` 9 | } 10 | 11 | // BlockType returns the type of the block 12 | func (s DividerBlock) BlockType() MessageBlockType { 13 | return s.Type 14 | } 15 | 16 | // NewDividerBlock returns a new instance of a divider block 17 | func NewDividerBlock() *DividerBlock { 18 | return &DividerBlock{ 19 | Type: MBTDivider, 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/block_unknown.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // UnknownBlock represents a block type that is not yet known. This block type exists to prevent Slack from introducing 4 | // new and unknown block types that break this library. 5 | type UnknownBlock struct { 6 | Type MessageBlockType `json:"type"` 7 | BlockID string `json:"block_id,omitempty"` 8 | } 9 | 10 | // BlockType returns the type of the block 11 | func (b UnknownBlock) BlockType() MessageBlockType { 12 | return b.Type 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/comment.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // Comment contains all the information relative to a comment 4 | type Comment struct { 5 | ID string `json:"id,omitempty"` 6 | Created JSONTime `json:"created,omitempty"` 7 | Timestamp JSONTime `json:"timestamp,omitempty"` 8 | User string `json:"user,omitempty"` 9 | Comment string `json:"comment,omitempty"` 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/groups.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // Group contains all the information for a group 4 | type Group struct { 5 | GroupConversation 6 | IsGroup bool `json:"is_group"` 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/im.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | type imChannel struct { 4 | ID string `json:"id"` 5 | } 6 | 7 | type imResponseFull struct { 8 | NoOp bool `json:"no_op"` 9 | AlreadyClosed bool `json:"already_closed"` 10 | AlreadyOpen bool `json:"already_open"` 11 | Channel imChannel `json:"channel"` 12 | IMs []IM `json:"ims"` 13 | History 14 | SlackResponse 15 | } 16 | 17 | // IM contains information related to the Direct Message channel 18 | type IM struct { 19 | Conversation 20 | IsUserDeleted bool `json:"is_user_deleted"` 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/internal/errorsx/errorsx.go: -------------------------------------------------------------------------------- 1 | package errorsx 2 | 3 | // String representing an error, useful for declaring string constants as errors. 4 | type String string 5 | 6 | func (t String) Error() string { 7 | return string(t) 8 | } 9 | 10 | // Is reports whether String matches with the target error 11 | func (t String) Is(target error) bool { 12 | if target == nil { 13 | return false 14 | } 15 | 16 | return t.Error() == target.Error() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/internal/timex/timex.go: -------------------------------------------------------------------------------- 1 | package timex 2 | 3 | import "time" 4 | 5 | // Max returns the maximum duration 6 | func Max(values ...time.Duration) time.Duration { 7 | var ( 8 | max time.Duration 9 | ) 10 | 11 | for _, v := range values { 12 | if v > max { 13 | max = v 14 | } 15 | } 16 | 17 | return max 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/github.com/slack-go/slack/logo.png -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/metadata.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // SlackMetadata https://api.slack.com/reference/metadata 4 | type SlackMetadata struct { 5 | EventType string `json:"event_type"` 6 | EventPayload map[string]interface{} `json:"event_payload"` 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/pagination.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // Paging contains paging information 4 | type Paging struct { 5 | Count int `json:"count"` 6 | Total int `json:"total"` 7 | Page int `json:"page"` 8 | Pages int `json:"pages"` 9 | } 10 | 11 | // Pagination contains pagination information 12 | // This is different from Paging in that it contains additional details 13 | type Pagination struct { 14 | TotalCount int `json:"total_count"` 15 | Page int `json:"page"` 16 | PerPage int `json:"per_page"` 17 | PageCount int `json:"page_count"` 18 | First int `json:"first"` 19 | Last int `json:"last"` 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/status_code_error.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | import ( 4 | "fmt" 5 | "net/http" 6 | ) 7 | 8 | // StatusCodeError represents an http response error. 9 | // type httpStatusCode interface { HTTPStatusCode() int } to handle it. 10 | type StatusCodeError struct { 11 | Code int 12 | Status string 13 | } 14 | 15 | func (t StatusCodeError) Error() string { 16 | return fmt.Sprintf("slack server error: %s", t.Status) 17 | } 18 | 19 | func (t StatusCodeError) HTTPStatusCode() int { 20 | return t.Code 21 | } 22 | 23 | func (t StatusCodeError) Retryable() bool { 24 | if t.Code >= 500 || t.Code == http.StatusTooManyRequests { 25 | return true 26 | } 27 | return false 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/websocket_dnd.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | // DNDUpdatedEvent represents the update event for Do Not Disturb 4 | type DNDUpdatedEvent struct { 5 | Type string `json:"type"` 6 | User string `json:"user"` 7 | Status DNDStatus `json:"dnd_status"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/websocket_pins.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | type pinEvent struct { 4 | Type string `json:"type"` 5 | User string `json:"user"` 6 | Item Item `json:"item"` 7 | Channel string `json:"channel_id"` 8 | EventTimestamp string `json:"event_ts"` 9 | HasPins bool `json:"has_pins,omitempty"` 10 | } 11 | 12 | // PinAddedEvent represents the Pin added event 13 | type PinAddedEvent pinEvent 14 | 15 | // PinRemovedEvent represents the Pin removed event 16 | type PinRemovedEvent pinEvent 17 | -------------------------------------------------------------------------------- /vendor/github.com/slack-go/slack/websocket_stars.go: -------------------------------------------------------------------------------- 1 | package slack 2 | 3 | type starEvent struct { 4 | Type string `json:"type"` 5 | User string `json:"user"` 6 | Item StarredItem `json:"item"` 7 | EventTimestamp string `json:"event_ts"` 8 | } 9 | 10 | // StarAddedEvent represents the Star added event 11 | type StarAddedEvent starEvent 12 | 13 | // StarRemovedEvent represents the Star removed event 14 | type StarRemovedEvent starEvent 15 | -------------------------------------------------------------------------------- /vendor/github.com/sorcix/irc/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: gopkg.in/sorcix/irc.v1 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - 1.3 8 | - 1.4 9 | - 1.5 10 | - 1.6 11 | - tip 12 | script: 13 | - go test -v -bench=. 14 | matrix: 15 | allow_failures: 16 | - go: 1.0 17 | - go: 1.1 18 | -------------------------------------------------------------------------------- /vendor/github.com/sorcix/irc/strings.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Vic Demuzere 2 | // 3 | // Use of this source code is governed by the MIT license. 4 | 5 | // +build go1.2 6 | 7 | // Documented in strings_legacy.go 8 | 9 | package irc 10 | 11 | import ( 12 | "strings" 13 | ) 14 | 15 | func indexByte(s string, c byte) int { 16 | return strings.IndexByte(s, c) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/sorcix/irc/strings_legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Vic Demuzere 2 | // 3 | // Use of this source code is governed by the MIT license. 4 | 5 | // +build !go1.2 6 | 7 | // Debian Wheezy only ships Go 1.0: 8 | // https://github.com/sorcix/irc/issues/4 9 | // 10 | // This code may be removed when Wheezy is no longer supported. 11 | 12 | package irc 13 | 14 | // indexByte implements strings.IndexByte for Go versions < 1.2. 15 | func indexByte(s string, c byte) int { 16 | for i := range s { 17 | if s[i] == c { 18 | return i 19 | } 20 | } 21 | return -1 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: 4 | - errcheck 5 | - godot 6 | - gosimple 7 | - govet 8 | - ineffassign 9 | - staticcheck 10 | - typecheck 11 | - unused 12 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/internal/multierror/multierror_go119.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.20 2 | // +build !go1.20 3 | 4 | package multierror 5 | 6 | import "go.uber.org/multierr" 7 | 8 | var ( 9 | Join = multierr.Combine 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/internal/multierror/multierror_go120.go: -------------------------------------------------------------------------------- 1 | //go:build go1.20 2 | // +build go1.20 3 | 4 | package multierror 5 | 6 | import "errors" 7 | 8 | var ( 9 | Join = errors.Join 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/conc/panics/try.go: -------------------------------------------------------------------------------- 1 | package panics 2 | 3 | // Try executes f, catching and returning any panic it might spawn. 4 | // 5 | // The recovered panic can be propagated with panic(), or handled as a normal error with 6 | // (*panics.Recovered).AsError(). 7 | func Try(f func()) *Recovered { 8 | var c Catcher 9 | c.Try(f) 10 | return c.Recovered() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.gitignore: -------------------------------------------------------------------------------- 1 | sftpfs/file1 2 | sftpfs/test/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | # This currently does nothing. We have moved to GitHub action, but this is kept 2 | # until spf13 has disabled this project in AppVeyor. 3 | version: '{build}' 4 | clone_folder: C:\gopath\src\github.com\spf13\afero 5 | environment: 6 | GOPATH: C:\gopath 7 | build_script: 8 | - cmd: >- 9 | go version 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | 25 | *.bench 26 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | 14 | [{Makefile,*.mk}] 15 | indent_style = tab 16 | 17 | [*.nix] 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.envrc: -------------------------------------------------------------------------------- 1 | if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then 2 | source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" 3 | fi 4 | use flake . --impure 5 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.gitignore: -------------------------------------------------------------------------------- 1 | /.devenv/ 2 | /.direnv/ 3 | /.idea/ 4 | /.pre-commit-config.yaml 5 | /bin/ 6 | /build/ 7 | /var/ 8 | /vendor/ 9 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamlignore: -------------------------------------------------------------------------------- 1 | # TODO: FIXME 2 | /.github/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.yamllint.yaml: -------------------------------------------------------------------------------- 1 | ignore-from-file: [.gitignore, .yamlignore] 2 | 3 | extends: default 4 | 5 | rules: 6 | line-length: disable 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/error.go: -------------------------------------------------------------------------------- 1 | package encoding 2 | 3 | type encodingError string 4 | 5 | func (e encodingError) Error() string { 6 | return string(e) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/json/codec.go: -------------------------------------------------------------------------------- 1 | package json 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for JSON encoding. 8 | type Codec struct{} 9 | 10 | func (Codec) Encode(v map[string]any) ([]byte, error) { 11 | // TODO: expose prefix and indent in the Codec as setting? 12 | return json.MarshalIndent(v, "", " ") 13 | } 14 | 15 | func (Codec) Decode(b []byte, v map[string]any) error { 16 | return json.Unmarshal(b, &v) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/toml/codec.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | import ( 4 | "github.com/pelletier/go-toml/v2" 5 | ) 6 | 7 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for TOML encoding. 8 | type Codec struct{} 9 | 10 | func (Codec) Encode(v map[string]any) ([]byte, error) { 11 | return toml.Marshal(v) 12 | } 13 | 14 | func (Codec) Decode(b []byte, v map[string]any) error { 15 | return toml.Unmarshal(b, &v) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go: -------------------------------------------------------------------------------- 1 | package yaml 2 | 3 | import "gopkg.in/yaml.v3" 4 | 5 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for YAML encoding. 6 | type Codec struct{} 7 | 8 | func (Codec) Encode(v map[string]any) ([]byte, error) { 9 | return yaml.Marshal(v) 10 | } 11 | 12 | func (Codec) Decode(b []byte, v map[string]any) error { 13 | return yaml.Unmarshal(b, &v) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/watch.go: -------------------------------------------------------------------------------- 1 | //go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows 2 | 3 | package viper 4 | 5 | import "github.com/fsnotify/fsnotify" 6 | 7 | type watcher = fsnotify.Watcher 8 | 9 | func newWatcher() (*watcher, error) { 10 | return fsnotify.NewWatcher() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/watch_unsupported.go: -------------------------------------------------------------------------------- 1 | //go:build appengine || (!darwin && !dragonfly && !freebsd && !openbsd && !linux && !netbsd && !solaris && !windows) 2 | 3 | package viper 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | 9 | "github.com/fsnotify/fsnotify" 10 | ) 11 | 12 | func newWatcher() (*watcher, error) { 13 | return &watcher{}, fmt.Errorf("fsnotify not supported on %s", runtime.GOOS) 14 | } 15 | 16 | type watcher struct { 17 | Events chan fsnotify.Event 18 | Errors chan error 19 | } 20 | 21 | func (*watcher) Close() error { 22 | return nil 23 | } 24 | 25 | func (*watcher) Add(name string) error { 26 | return nil 27 | } 28 | 29 | func (*watcher) Remove(name string) error { 30 | return nil 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_compare_can_convert.go: -------------------------------------------------------------------------------- 1 | //go:build go1.17 2 | // +build go1.17 3 | 4 | // TODO: once support for Go 1.16 is dropped, this file can be 5 | // merged/removed with assertion_compare_go1.17_test.go and 6 | // assertion_compare_legacy.go 7 | 8 | package assert 9 | 10 | import "reflect" 11 | 12 | // Wrapper around reflect.Value.CanConvert, for compatibility 13 | // reasons. 14 | func canConvert(value reflect.Value, to reflect.Type) bool { 15 | return value.CanConvert(to) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go: -------------------------------------------------------------------------------- 1 | //go:build !go1.17 2 | // +build !go1.17 3 | 4 | // TODO: once support for Go 1.16 is dropped, this file can be 5 | // merged/removed with assertion_compare_go1.17_test.go and 6 | // assertion_compare_can_convert.go 7 | 8 | package assert 9 | 10 | import "reflect" 11 | 12 | // Older versions of Go does not have the reflect.Value.CanConvert 13 | // method. 14 | func canConvert(value reflect.Value, to reflect.Type) bool { 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentFormat}} 2 | func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/forward_assertions.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=assert -template=assertion_forward.go.tmpl -include-format-funcs" 17 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env: -------------------------------------------------------------------------------- 1 | HELLO=world 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env.invalid: -------------------------------------------------------------------------------- 1 | lol$wut 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.out 3 | annotate.json 4 | profile.cov 5 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.golangci.yaml: -------------------------------------------------------------------------------- 1 | # Options for analysis running. 2 | run: 3 | timeout: 1m 4 | 5 | linters-settings: 6 | gofmt: 7 | simplify: true 8 | -------------------------------------------------------------------------------- /vendor/github.com/tinylib/msgp/msgp/advise_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux,!appengine 2 | 3 | package msgp 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | func adviseRead(mem []byte) { 11 | syscall.Madvise(mem, syscall.MADV_SEQUENTIAL|syscall.MADV_WILLNEED) 12 | } 13 | 14 | func adviseWrite(mem []byte) { 15 | syscall.Madvise(mem, syscall.MADV_SEQUENTIAL) 16 | } 17 | 18 | func fallocate(f *os.File, sz int64) error { 19 | err := syscall.Fallocate(int(f.Fd()), 0, 0, sz) 20 | if err == syscall.ENOTSUP { 21 | return f.Truncate(sz) 22 | } 23 | return err 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/tinylib/msgp/msgp/advise_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux appengine 2 | 3 | package msgp 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | // TODO: darwin, BSD support 10 | 11 | func adviseRead(mem []byte) {} 12 | 13 | func adviseWrite(mem []byte) {} 14 | 15 | func fallocate(f *os.File, sz int64) error { 16 | return f.Truncate(sz) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/tinylib/msgp/msgp/purego.go: -------------------------------------------------------------------------------- 1 | // +build purego appengine 2 | 3 | package msgp 4 | 5 | // let's just assume appengine 6 | // uses 64-bit hardware... 7 | const smallint = false 8 | 9 | func UnsafeString(b []byte) string { 10 | return string(b) 11 | } 12 | 13 | func UnsafeBytes(s string) []byte { 14 | return []byte(s) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/tomnomnom/linkheader/.gitignore: -------------------------------------------------------------------------------- 1 | cpu.out 2 | linkheader.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/tomnomnom/linkheader/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.6 5 | - 1.7 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/tomnomnom/linkheader/CONTRIBUTING.mkd: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | * Raise an issue if appropriate 4 | * Fork the repo 5 | * Bootstrap the dev dependencies (run `./script/bootstrap`) 6 | * Make your changes 7 | * Use [gofmt](https://golang.org/cmd/gofmt/) 8 | * Make sure the tests pass (run `./script/test`) 9 | * Make sure the linters pass (run `./script/lint`) 10 | * Issue a pull request 11 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/.prettierrc: -------------------------------------------------------------------------------- 1 | semi: false 2 | singleQuote: true 3 | proseWrap: always 4 | printWidth: 100 5 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.15.x 6 | - 1.16.x 7 | - tip 8 | 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | 13 | env: 14 | - GO111MODULE=on 15 | 16 | go_import_path: github.com/vmihailenco/msgpack 17 | 18 | before_install: 19 | - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go 20 | env GOPATH)/bin v1.31.0 21 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | go test ./... 3 | go test ./... -short -race 4 | go test ./... -run=NONE -bench=. -benchmem 5 | env GOOS=linux GOARCH=386 go test ./... 6 | go vet 7 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] } 2 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msgpack", 3 | "version": "5.3.5" 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package msgpack 4 | 5 | // bytesToString converts byte slice to string. 6 | func bytesToString(b []byte) string { 7 | return string(b) 8 | } 9 | 10 | // stringToBytes converts string to byte slice. 11 | func stringToBytes(s string) []byte { 12 | return []byte(s) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/unsafe.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | 3 | package msgpack 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // bytesToString converts byte slice to string. 10 | func bytesToString(b []byte) string { 11 | return *(*string)(unsafe.Pointer(&b)) 12 | } 13 | 14 | // stringToBytes converts string to byte slice. 15 | func stringToBytes(s string) []byte { 16 | return *(*[]byte)(unsafe.Pointer( 17 | &struct { 18 | string 19 | Cap int 20 | }{s, len(s)}, 21 | )) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/version.go: -------------------------------------------------------------------------------- 1 | package msgpack 2 | 3 | // Version is the current release version. 4 | func Version() string { 5 | return "5.3.5" 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | dist: xenial 2 | language: go 3 | 4 | go: 5 | - 1.14.x 6 | - 1.15.x 7 | - tip 8 | 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | 13 | env: 14 | - GO111MODULE=on 15 | 16 | go_import_path: github.com/vmihailenco/tagparser 17 | 18 | before_install: 19 | - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1 20 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/v2/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go test ./... 3 | go test ./... -short -race 4 | go test ./... -run=NONE -bench=. -benchmem 5 | env GOOS=linux GOARCH=386 go test ./... 6 | go vet ./... 7 | go get github.com/gordonklaus/ineffassign 8 | ineffassign . 9 | golangci-lint run 10 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/v2/README.md: -------------------------------------------------------------------------------- 1 | # Opinionated Golang tag parser 2 | 3 | [![Build Status](https://travis-ci.org/vmihailenco/tagparser.png?branch=master)](https://travis-ci.org/vmihailenco/tagparser) 4 | [![GoDoc](https://godoc.org/github.com/vmihailenco/tagparser?status.svg)](https://godoc.org/github.com/vmihailenco/tagparser) 5 | 6 | ## Installation 7 | 8 | Install: 9 | 10 | ```shell 11 | go get github.com/vmihailenco/tagparser/v2 12 | ``` 13 | 14 | ## Quickstart 15 | 16 | ```go 17 | func ExampleParse() { 18 | tag := tagparser.Parse("some_name,key:value,key2:'complex value'") 19 | fmt.Println(tag.Name) 20 | fmt.Println(tag.Options) 21 | // Output: some_name 22 | // map[key:value key2:'complex value'] 23 | } 24 | ``` 25 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/v2/internal/safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package internal 4 | 5 | func BytesToString(b []byte) string { 6 | return string(b) 7 | } 8 | 9 | func StringToBytes(s string) []byte { 10 | return []byte(s) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/v2/internal/unsafe.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | 3 | package internal 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // BytesToString converts byte slice to string. 10 | func BytesToString(b []byte) string { 11 | return *(*string)(unsafe.Pointer(&b)) 12 | } 13 | 14 | // StringToBytes converts string to byte slice. 15 | func StringToBytes(s string) []byte { 16 | return *(*[]byte)(unsafe.Pointer( 17 | &struct { 18 | string 19 | Cap int 20 | }{s, len(s)}, 21 | )) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | before_script: 4 | - go vet ./... 5 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/README.md: -------------------------------------------------------------------------------- 1 | # merror 2 | 3 | [![GoDoc](https://godoc.org/github.com/wiggin77/merror?status.svg)](https://godoc.org/github.com/wiggin77/merror) 4 | [![Build Status](https://travis-ci.org/wiggin77/merror.svg?branch=master)](https://travis-ci.org/wiggin77/merror) 5 | 6 | Multiple Error aggregator for Go. 7 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/.gitignore: -------------------------------------------------------------------------------- 1 | .cover 2 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | group: edge 4 | language: go 5 | go: 6 | - 1.5 7 | before_install: 8 | - pip install --user codecov 9 | script: 10 | - | 11 | go get ./... 12 | go test -v -coverprofile=coverage.txt -covermode=atomic 13 | go vet 14 | after_success: 15 | - codecov 16 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/logger.go: -------------------------------------------------------------------------------- 1 | package srslog 2 | 3 | import ( 4 | "io/ioutil" 5 | "log" 6 | ) 7 | 8 | var Logger log.Logger 9 | 10 | func init() { 11 | Logger = log.Logger{} 12 | Logger.SetOutput(ioutil.Discard) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.gitignore: -------------------------------------------------------------------------------- 1 | *.prof 2 | *.test 3 | *.swp 4 | /bin/ 5 | cover.out 6 | cover-*.out 7 | /.idea 8 | *.iml 9 | /cmd/bbolt/bbolt 10 | 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_386.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_amd64.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0x7FFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm64.go: -------------------------------------------------------------------------------- 1 | //go:build arm64 2 | // +build arm64 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_linux.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fdatasync flushes written data to a file descriptor. 8 | func fdatasync(db *DB) error { 9 | return syscall.Fdatasync(int(db.file.Fd())) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_loong64.go: -------------------------------------------------------------------------------- 1 | //go:build loong64 2 | // +build loong64 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mips64x.go: -------------------------------------------------------------------------------- 1 | //go:build mips64 || mips64le 2 | // +build mips64 mips64le 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0x8000000000 // 512GB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mipsx.go: -------------------------------------------------------------------------------- 1 | //go:build mips || mipsle 2 | // +build mips mipsle 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0x40000000 // 1GB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0xFFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_openbsd.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "syscall" 5 | "unsafe" 6 | ) 7 | 8 | const ( 9 | msAsync = 1 << iota // perform asynchronous writes 10 | msSync // perform synchronous writes 11 | msInvalidate // invalidate cached data 12 | ) 13 | 14 | func msync(db *DB) error { 15 | _, _, errno := syscall.Syscall(syscall.SYS_MSYNC, uintptr(unsafe.Pointer(db.data)), uintptr(db.datasz), msInvalidate) 16 | if errno != 0 { 17 | return errno 18 | } 19 | return nil 20 | } 21 | 22 | func fdatasync(db *DB) error { 23 | if db.data != nil { 24 | return msync(db) 25 | } 26 | return db.file.Sync() 27 | } 28 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc.go: -------------------------------------------------------------------------------- 1 | //go:build ppc 2 | // +build ppc 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0x7FFFFFFF // 2GB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0xFFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64.go: -------------------------------------------------------------------------------- 1 | //go:build ppc64 2 | // +build ppc64 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64le.go: -------------------------------------------------------------------------------- 1 | //go:build ppc64le 2 | // +build ppc64le 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_riscv64.go: -------------------------------------------------------------------------------- 1 | //go:build riscv64 2 | // +build riscv64 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_s390x.go: -------------------------------------------------------------------------------- 1 | //go:build s390x 2 | // +build s390x 3 | 4 | package bbolt 5 | 6 | // maxMapSize represents the largest mmap size supported by Bolt. 7 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 8 | 9 | // maxAllocSize is the size used when creating array pointers. 10 | const maxAllocSize = 0x7FFFFFFF 11 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows && !plan9 && !linux && !openbsd 2 | // +build !windows,!plan9,!linux,!openbsd 3 | 4 | package bbolt 5 | 6 | // fdatasync flushes written data to a file descriptor. 7 | func fdatasync(db *DB) error { 8 | return db.file.Sync() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/mlock_windows.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // mlock locks memory of db file 4 | func mlock(_ *DB, _ int) error { 5 | panic("mlock is supported only on UNIX systems") 6 | } 7 | 8 | // munlock unlocks memory of db file 9 | func munlock(_ *DB, _ int) error { 10 | panic("munlock is supported only on UNIX systems") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | .DS_Store 3 | /vendor 4 | cover.html 5 | cover.out 6 | lint.log 7 | 8 | # Binaries 9 | *.test 10 | 11 | # Profiling output 12 | *.prof 13 | 14 | # Output of fossa analyzer 15 | /fossa 16 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/argon2/blamka_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !amd64 || purego || !gc 6 | // +build !amd64 purego !gc 7 | 8 | package argon2 9 | 10 | func processBlock(out, in1, in2 *block) { 11 | processBlockGeneric(out, in1, in2, false) 12 | } 13 | 14 | func processBlockXOR(out, in1, in2 *block) { 15 | processBlockGeneric(out, in1, in2, true) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.7 && amd64 && gc && !purego 6 | // +build !go1.7,amd64,gc,!purego 7 | 8 | package blake2b 9 | 10 | import "golang.org/x/sys/cpu" 11 | 12 | func init() { 13 | useSSE4 = cpu.X86.HasSSE41 14 | } 15 | 16 | //go:noescape 17 | func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) 18 | 19 | func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) { 20 | if useSSE4 { 21 | hashBlocksSSE4(h, c, flag, blocks) 22 | } else { 23 | hashBlocksGeneric(h, c, flag, blocks) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/blake2b/blake2b_ref.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !amd64 || purego || !gc 6 | // +build !amd64 purego !gc 7 | 8 | package blake2b 9 | 10 | func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) { 11 | hashBlocksGeneric(h, c, flag, blocks) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/exp/slog/internal/ignorepc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package internal 6 | 7 | // If IgnorePC is true, do not invoke runtime.Callers to get the pc. 8 | // This is solely for benchmarking the slowdown from runtime.Callers. 9 | var IgnorePC = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build go1.18 8 | // +build go1.18 9 | 10 | package idna 11 | 12 | // Transitional processing is disabled by default in Go 1.18. 13 | // https://golang.org/issue/47510 14 | const transitionalLookup = false 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/pre_go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build !go1.18 8 | // +build !go1.18 9 | 10 | package idna 11 | 12 | const transitionalLookup = true 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/publicsuffix/data/children: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/golang.org/x/net/publicsuffix/data/children -------------------------------------------------------------------------------- /vendor/golang.org/x/net/publicsuffix/data/nodes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/42wim/matterircd/ec4b62f3c941e62ce0d7a5fbd8503ed99154ba59/vendor/golang.org/x/net/publicsuffix/data/nodes -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 12 | // 13 | 14 | TEXT ·syscall6(SB),NOSPLIT,$0-88 15 | JMP syscall·syscall6(SB) 16 | 17 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 18 | JMP syscall·rawSyscall6(SB) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | package cpu 9 | 10 | func getisar0() uint64 11 | func getisar1() uint64 12 | func getpfr0() uint64 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_x86.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (386 || amd64 || amd64p32) && gc 6 | // +build 386 amd64 amd64p32 7 | // +build gc 8 | 9 | package cpu 10 | 11 | // cpuid is implemented in cpu_x86.s for gc compiler 12 | // and in cpu_gccgo.c for gccgo. 13 | func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) 14 | 15 | // xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler 16 | // and in cpu_gccgo.c for gccgo. 17 | func xgetbv() (eax, edx uint32) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo 6 | // +build gccgo 7 | 8 | package cpu 9 | 10 | func getisar0() uint64 { return 0 } 11 | func getisar1() uint64 { return 0 } 12 | func getpfr0() uint64 { return 0 } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !386 && !amd64 && !amd64p32 && !arm64 6 | // +build !386,!amd64,!amd64p32,!arm64 7 | 8 | package cpu 9 | 10 | func archInit() { 11 | if err := readHWCAP(); err != nil { 12 | return 13 | } 14 | doinit() 15 | Initialized = true 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (mips64 || mips64le) 6 | // +build linux 7 | // +build mips64 mips64le 8 | 9 | package cpu 10 | 11 | // HWCAP bits. These are exposed by the Linux kernel 5.4. 12 | const ( 13 | // CPU features 14 | hwcap_MIPS_MSA = 1 << 1 15 | ) 16 | 17 | func doinit() { 18 | // HWCAP feature bits 19 | MIPS64X.HasMSA = isSet(hwCap, hwcap_MIPS_MSA) 20 | } 21 | 22 | func isSet(hwc uint, value uint) bool { 23 | return hwc&value != 0 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x 6 | // +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x 7 | 8 | package cpu 9 | 10 | func doinit() {} 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_loong64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build loong64 6 | // +build loong64 7 | 8 | package cpu 9 | 10 | const cacheLineSize = 64 11 | 12 | func initOptions() { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build mips64 || mips64le 6 | // +build mips64 mips64le 7 | 8 | package cpu 9 | 10 | const cacheLineSize = 32 11 | 12 | func initOptions() { 13 | options = []option{ 14 | {Name: "msa", Feature: &MIPS64X.HasMSA}, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build mips || mipsle 6 | // +build mips mipsle 7 | 8 | package cpu 9 | 10 | const cacheLineSize = 32 11 | 12 | func initOptions() {} 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 8 | JMP libc_sysctl(SB) 9 | 10 | GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 11 | DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && arm 6 | // +build !linux,arm 7 | 8 | package cpu 9 | 10 | func archInit() {} 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && !netbsd && !openbsd && arm64 6 | // +build !linux,!netbsd,!openbsd,arm64 7 | 8 | package cpu 9 | 10 | func doinit() {} 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && (mips64 || mips64le) 6 | // +build !linux 7 | // +build mips64 mips64le 8 | 9 | package cpu 10 | 11 | func archInit() { 12 | Initialized = true 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !aix && !linux && (ppc64 || ppc64le) 6 | // +build !aix 7 | // +build !linux 8 | // +build ppc64 ppc64le 9 | 10 | package cpu 11 | 12 | func archInit() { 13 | PPC64.IsPOWER8 = true 14 | Initialized = true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux && riscv64 6 | // +build !linux,riscv64 7 | 8 | package cpu 9 | 10 | func archInit() { 11 | Initialized = true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ppc64 || ppc64le 6 | // +build ppc64 ppc64le 7 | 8 | package cpu 9 | 10 | const cacheLineSize = 128 11 | 12 | func initOptions() { 13 | options = []option{ 14 | {Name: "darn", Feature: &PPC64.HasDARN}, 15 | {Name: "scv", Feature: &PPC64.HasSCV}, 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build riscv64 6 | // +build riscv64 7 | 8 | package cpu 9 | 10 | const cacheLineSize = 32 11 | 12 | func initOptions() {} 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_wasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build wasm 6 | // +build wasm 7 | 8 | package cpu 9 | 10 | // We're compiling the cpu package for an unknown (software-abstracted) CPU. 11 | // Make CacheLinePad an empty struct and hope that the usual struct alignment 12 | // rules are good enough. 13 | 14 | const cacheLineSize = 0 15 | 16 | func initOptions() {} 17 | 18 | func archInit() {} 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_zos.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | func archInit() { 8 | doinit() 9 | Initialized = true 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | // +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 7 | 8 | package cpu 9 | 10 | // IsBigEndian records whether the GOARCH's byte order is big endian. 11 | const IsBigEndian = true 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm 6 | // +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh wasm 7 | 8 | package cpu 9 | 10 | // IsBigEndian records whether the GOARCH's byte order is big endian. 11 | const IsBigEndian = false 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/runtime_auxv.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | // getAuxvFn is non-nil on Go 1.21+ (via runtime_auxv_go121.go init) 8 | // on platforms that use auxv. 9 | var getAuxvFn func() []uintptr 10 | 11 | func getAuxv() []uintptr { 12 | if getAuxvFn == nil { 13 | return nil 14 | } 15 | return getAuxvFn() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.21 6 | // +build go1.21 7 | 8 | package cpu 9 | 10 | import ( 11 | _ "unsafe" // for linkname 12 | ) 13 | 14 | //go:linkname runtime_getAuxv runtime.getAuxv 15 | func runtime_getAuxv() []uintptr 16 | 17 | func init() { 18 | getAuxvFn = runtime_getAuxv 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/env_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Plan 9 environment variables. 6 | 7 | package plan9 8 | 9 | import ( 10 | "syscall" 11 | ) 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | 29 | func Unsetenv(key string) error { 30 | return syscall.Unsetenv(key) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2009 The Go Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style 4 | # license that can be found in the LICENSE file. 5 | 6 | COMMAND="mksysnum_plan9.sh $@" 7 | 8 | cat <= 10 { 17 | buf[i] = byte(val%10 + '0') 18 | i-- 19 | val /= 10 20 | } 21 | buf[i] = byte(val + '0') 22 | return string(buf[i:]) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | // +build go1.9 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | type Signal = syscall.Signal 14 | type Errno = syscall.Errno 15 | type SysProcAttr = syscall.SysProcAttr 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 12 | // 13 | 14 | TEXT ·syscall6(SB),NOSPLIT,$0-88 15 | JMP syscall·syscall6(SB) 16 | 17 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 18 | JMP syscall·rawSyscall6(SB) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 12 | // 13 | 14 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 15 | JMP syscall·sysvicall6(SB) 16 | 17 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 18 | JMP syscall·rawSysvicall6(SB) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | 8 | package unix 9 | 10 | const ( 11 | R_OK = 0x4 12 | W_OK = 0x2 13 | X_OK = 0x1 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | // +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 7 | 8 | package unix 9 | 10 | const isBigEndian = true 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | // +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh 7 | 8 | package unix 9 | 10 | const isBigEndian = false 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | // +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc 7 | 8 | package unix 9 | 10 | func init() { 11 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 12 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 13 | fcntl64Syscall = SYS_FCNTL64 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo && linux && amd64 6 | // +build gccgo,linux,amd64 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //extern gettimeofday 13 | func realGettimeofday(*Timeval, *byte) int32 14 | 15 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 16 | r := realGettimeofday(tv, nil) 17 | if r < 0 { 18 | return syscall.GetErrno() 19 | } 20 | return 0 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/mmap_nomremap.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris 6 | // +build aix darwin dragonfly freebsd openbsd solaris 7 | 8 | package unix 9 | 10 | var mapper = &mmapper{ 11 | active: make(map[*byte][]byte), 12 | mmap: mmap, 13 | munmap: munmap, 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 7 | 8 | // For Unix, get the pagesize from the runtime. 9 | 10 | package unix 11 | 12 | import "syscall" 13 | 14 | func Getpagesize() int { 15 | return syscall.Getpagesize() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | // +build darwin,!ios 7 | 8 | package unix 9 | 10 | import "unsafe" 11 | 12 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 13 | return ptrace1(request, pid, addr, data) 14 | } 15 | 16 | func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) error { 17 | return ptrace1Ptr(request, pid, addr, data) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ios 6 | // +build ios 7 | 8 | package unix 9 | 10 | import "unsafe" 11 | 12 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 13 | return ENOTSUP 14 | } 15 | 16 | func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) { 17 | return ENOTSUP 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | // +build aix dragonfly freebsd linux netbsd openbsd 7 | 8 | package unix 9 | 10 | // ReadDirent reads directory entries from fd and writes them into buf. 11 | func ReadDirent(fd int, buf []byte) (n int, err error) { 12 | return Getdents(fd, buf) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | // Round the length of a raw sockaddr up to align it properly. 8 | func cmsgAlignOf(salen int) int { 9 | salign := SizeofPtr 10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { 11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires 12 | // 32-bit aligned access to network subsystem. 13 | salign = 4 14 | } 15 | return (salen + salign - 1) & ^(salign - 1) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_hurd_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 && hurd 6 | // +build 386,hurd 7 | 8 | package unix 9 | 10 | const ( 11 | TIOCGETA = 0x62251713 12 | ) 13 | 14 | type Winsize struct { 15 | Row uint16 16 | Col uint16 17 | Xpixel uint16 18 | Ypixel uint16 19 | } 20 | 21 | type Termios struct { 22 | Iflag uint32 23 | Oflag uint32 24 | Cflag uint32 25 | Lflag uint32 26 | Cc [20]uint8 27 | Ispeed int32 28 | Ospeed int32 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_alarm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) 6 | // +build linux 7 | // +build 386 amd64 mips mipsle mips64 mipsle ppc64 ppc64le ppc s390x sparc64 8 | 9 | package unix 10 | 11 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH 12 | // values. 13 | 14 | //sys Alarm(seconds uint) (remaining uint, err error) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | // +build amd64,linux,gc 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc 6 | // +build linux,gc 7 | 8 | package unix 9 | 10 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 11 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 12 | 13 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 14 | // fail. 15 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc && 386 6 | // +build linux,gc,386 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | // Underlying system call writes to newoffset via pointer. 13 | // Implemented in assembly to avoid allocation. 14 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 15 | 16 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && gc && linux 6 | // +build arm,gc,linux 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | // Underlying system call writes to newoffset via pointer. 13 | // Implemented in assembly to avoid allocation. 14 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gccgo && arm 6 | // +build linux,gccgo,arm 7 | 8 | package unix 9 | 10 | import ( 11 | "syscall" 12 | "unsafe" 13 | ) 14 | 15 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 16 | var newoffset int64 17 | offsetLow := uint32(offset & 0xffffffff) 18 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 19 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 20 | return newoffset, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux 6 | // +build linux 7 | 8 | package unix 9 | 10 | import "runtime" 11 | 12 | // SysvShmCtl performs control operations on the shared memory segment 13 | // specified by id. 14 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 15 | if runtime.GOARCH == "arm" || 16 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 17 | cmd |= ipc_64 18 | } 19 | 20 | return shmctl(id, cmd, desc) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | // +build darwin,!ios 7 | 8 | package unix 9 | 10 | // SysvShmCtl performs control operations on the shared memory segment 11 | // specified by id. 12 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 13 | return shmctl(id, cmd, desc) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows && go1.9 6 | // +build windows,go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.12 6 | // +build !go1.12 7 | 8 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 9 | // and earlier (see https://golang.org/issue/23311). 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | // +build generate 7 | 8 | package windows 9 | 10 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows && !race 6 | // +build windows,!race 7 | 8 | package windows 9 | 10 | import ( 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = false 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | } 18 | 19 | func raceReleaseMerge(addr unsafe.Pointer) { 20 | } 21 | 22 | func raceReadRange(addr unsafe.Pointer, len int) { 23 | } 24 | 25 | func raceWriteRange(addr unsafe.Pointer, len int) { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | // +build windows 7 | 8 | package windows 9 | 10 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 11 | if val < 0 { 12 | return "-" + itoa(-val) 13 | } 14 | var buf [32]byte // big enough for int64 15 | i := len(buf) - 1 16 | for val >= 10 { 17 | buf[i] = byte(val%10 + '0') 18 | i-- 19 | val /= 10 20 | } 21 | buf[i] = byte(val + '0') 22 | return string(buf[i:]) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd 6 | // +build darwin dragonfly freebsd netbsd openbsd 7 | 8 | package term 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | const ioctlReadTermios = unix.TIOCGETA 13 | const ioctlWriteTermios = unix.TIOCSETA 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || linux || solaris || zos 6 | // +build aix linux solaris zos 7 | 8 | package term 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | const ioctlReadTermios = unix.TCGETS 13 | const ioctlWriteTermios = unix.TCSETS 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/language/common.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | package language 4 | 5 | // This file contains code common to the maketables.go and the package code. 6 | 7 | // AliasType is the type of an alias in AliasMap. 8 | type AliasType int8 9 | 10 | const ( 11 | Deprecated AliasType = iota 12 | Macro 13 | Legacy 14 | 15 | AliasTypeUnknown AliasType = -1 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.10 6 | // +build go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.10 6 | // +build !go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | if !t.isRTL() { 12 | return true 13 | } 14 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 15 | } 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*_test.go] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | .idea 6 | /.vscode 7 | .DS_Store 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | staticcheck: 3 | checks: [ 4 | "all", 5 | "-SA1019" # There are valid use cases of strings.Title 6 | ] 7 | nakedret: 8 | max-func-lines: 0 # Disallow any unnamed return statement 9 | 10 | linters: 11 | enable: 12 | - deadcode 13 | - errcheck 14 | - gosimple 15 | - govet 16 | - ineffassign 17 | - staticcheck 18 | - structcheck 19 | - typecheck 20 | - unused 21 | - varcheck 22 | - nakedret 23 | - gofmt 24 | - rowserrcheck 25 | - unconvert 26 | - goimports 27 | - unparam 28 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet coverage 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | 14 | coverage: 15 | go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | range: "60...95" 3 | status: 4 | project: 5 | default: 6 | threshold: 1% 7 | informational: true 8 | patch: 9 | defualt: 10 | only_pulls: true 11 | informational: true 12 | 13 | comment: 14 | layout: 'diff' 15 | 16 | github_checks: false 17 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8 5 | - 1.7 6 | - 1.6 -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/chown.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package lumberjack 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func chown(_ string, _ os.FileInfo) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/chown_linux.go: -------------------------------------------------------------------------------- 1 | package lumberjack 2 | 3 | import ( 4 | "os" 5 | "syscall" 6 | ) 7 | 8 | // os_Chown is a var so we can mock it out during tests. 9 | var os_Chown = os.Chown 10 | 11 | func chown(name string, info os.FileInfo) error { 12 | f, err := os.OpenFile(name, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, info.Mode()) 13 | if err != nil { 14 | return err 15 | } 16 | f.Close() 17 | stat := info.Sys().(*syscall.Stat_t) 18 | return os_Chown(name, int(stat.Uid), int(stat.Gid)) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | --------------------------------------------------------------------------------