]> source.dussan.org Git - gitea.git/commit
Move macaron to chi (#14293)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 26 Jan 2021 15:36:53 +0000 (23:36 +0800)
committerGitHub <noreply@github.com>
Tue, 26 Jan 2021 15:36:53 +0000 (16:36 +0100)
commit6433ba0ec3dfde67f45267aa12bd713c4a44c740
tree8813388f7e58ff23ad24af9ccbdb5f0350cb3a09
parent3adbbb4255c42cde04d59b6ebf5ead7e3edda3e7
Move macaron to chi (#14293)

Use [chi](https://github.com/go-chi/chi) instead of the forked [macaron](https://gitea.com/macaron/macaron). Since macaron and chi have conflicts with session share, this big PR becomes a have-to thing. According my previous idea, we can replace macaron step by step but I'm wrong. :( Below is a list of big changes on this PR.

- [x] Define `context.ResponseWriter` interface with an implementation `context.Response`.
- [x] Use chi instead of macaron, and also a customize `Route` to wrap chi so that the router usage is similar as before.
- [x] Create different routers for `web`, `api`, `internal` and `install` so that the codes will be more clear and no magic .
- [x] Use https://github.com/unrolled/render instead of macaron's internal render
- [x] Use https://github.com/NYTimes/gziphandler instead of https://gitea.com/macaron/gzip
- [x] Use https://gitea.com/go-chi/session which is a modified version of https://gitea.com/macaron/session and removed `nodb` support since it will not be maintained. **BREAK**
- [x] Use https://gitea.com/go-chi/captcha which is a modified version of https://gitea.com/macaron/captcha
- [x] Use https://gitea.com/go-chi/cache which is a modified version of https://gitea.com/macaron/cache
- [x] Use https://gitea.com/go-chi/binding which is a modified version of https://gitea.com/macaron/binding
- [x] Use https://github.com/go-chi/cors instead of https://gitea.com/macaron/cors
- [x] Dropped https://gitea.com/macaron/i18n and make a new one in `code.gitea.io/gitea/modules/translation`
- [x] Move validation form structs from `code.gitea.io/gitea/modules/auth` to `code.gitea.io/gitea/modules/forms` to avoid dependency cycle.
- [x] Removed macaron log service because it's not need any more. **BREAK**
- [x] All form structs have to be get by `web.GetForm(ctx)` in the route function but not as a function parameter on routes definition.
- [x] Move Git HTTP protocol implementation to use routers directly.
- [x] Fix the problem that chi routes don't support trailing slash but macaron did.
- [x] `/api/v1/swagger` now will be redirect to `/api/swagger` but not render directly so that `APIContext` will not create a html render.

Notices:
- Chi router don't support request with trailing slash
- Integration test `TestUserHeatmap` maybe mysql version related. It's failed on my macOS(mysql 5.7.29 installed via brew) but succeed on CI.

Co-authored-by: 6543 <6543@obermui.de>
396 files changed:
.golangci.yml
cmd/dump.go
cmd/web.go
contrib/pr/checkout.go
docs/content/doc/advanced/config-cheat-sheet.en-us.md
docs/content/doc/advanced/logging-documentation.en-us.md
docs/content/page/index.en-us.md
docs/content/page/index.fr-fr.md
docs/content/page/index.zh-cn.md
docs/content/page/index.zh-tw.md
go.mod
go.sum
integrations/api_helper_for_declarative_test.go
integrations/api_pull_test.go
integrations/api_releases_test.go
integrations/create_no_session_test.go
integrations/integration_test.go
integrations/lfs_getobject_test.go
integrations/links_test.go
modules/auth/admin.go [deleted file]
modules/auth/auth.go [deleted file]
modules/auth/auth_form.go [deleted file]
modules/auth/org.go [deleted file]
modules/auth/repo_branch_form.go [deleted file]
modules/auth/repo_form.go [deleted file]
modules/auth/repo_form_test.go [deleted file]
modules/auth/sso/interface.go
modules/auth/sso/oauth2.go
modules/auth/user_form.go [deleted file]
modules/auth/user_form_auth_openid.go [deleted file]
modules/auth/user_form_test.go [deleted file]
modules/cache/cache.go
modules/cache/cache_redis.go
modules/context/api.go
modules/context/auth.go
modules/context/captcha.go [new file with mode: 0644]
modules/context/context.go
modules/context/csrf.go [new file with mode: 0644]
modules/context/form.go [new file with mode: 0644]
modules/context/org.go
modules/context/permission.go
modules/context/private.go [new file with mode: 0644]
modules/context/repo.go
modules/context/response.go
modules/context/secret.go [new file with mode: 0644]
modules/context/xsrf.go [new file with mode: 0644]
modules/context/xsrf_test.go [new file with mode: 0644]
modules/forms/admin.go [new file with mode: 0644]
modules/forms/auth_form.go [new file with mode: 0644]
modules/forms/org.go [new file with mode: 0644]
modules/forms/repo_branch_form.go [new file with mode: 0644]
modules/forms/repo_form.go [new file with mode: 0644]
modules/forms/repo_form_test.go [new file with mode: 0644]
modules/forms/user_form.go [new file with mode: 0644]
modules/forms/user_form_auth_openid.go [new file with mode: 0644]
modules/forms/user_form_test.go [new file with mode: 0644]
modules/lfs/locks.go
modules/lfs/server.go
modules/middlewares/binding.go [new file with mode: 0644]
modules/middlewares/cookie.go
modules/middlewares/data.go [new file with mode: 0644]
modules/middlewares/flash.go [new file with mode: 0644]
modules/middlewares/locale.go
modules/middlewares/redis.go [deleted file]
modules/middlewares/virtual.go [deleted file]
modules/session/redis.go
modules/session/store.go [new file with mode: 0644]
modules/session/virtual.go
modules/setting/log.go
modules/setting/session.go
modules/templates/base.go
modules/templates/dynamic.go
modules/templates/static.go
modules/test/context_tests.go
modules/timeutil/since_test.go
modules/translation/translation.go
modules/validation/binding.go
modules/validation/binding_test.go
modules/validation/glob_pattern_test.go
modules/validation/refname_test.go
modules/validation/validurl_test.go
modules/web/route.go [new file with mode: 0644]
modules/web/route_test.go [new file with mode: 0644]
options/locale/locale_de-DE.ini
routers/admin/admin.go
routers/admin/auths.go
routers/admin/users.go
routers/admin/users_test.go
routers/api/v1/admin/org.go
routers/api/v1/admin/repo.go
routers/api/v1/admin/user.go
routers/api/v1/api.go
routers/api/v1/misc/markdown.go
routers/api/v1/misc/markdown_test.go
routers/api/v1/org/hook.go
routers/api/v1/org/label.go
routers/api/v1/org/org.go
routers/api/v1/org/team.go
routers/api/v1/repo/branch.go
routers/api/v1/repo/collaborators.go
routers/api/v1/repo/commits.go
routers/api/v1/repo/file.go
routers/api/v1/repo/fork.go
routers/api/v1/repo/git_hook.go
routers/api/v1/repo/hook.go
routers/api/v1/repo/issue.go
routers/api/v1/repo/issue_comment.go
routers/api/v1/repo/issue_label.go
routers/api/v1/repo/issue_reaction.go
routers/api/v1/repo/issue_tracked_time.go
routers/api/v1/repo/key.go
routers/api/v1/repo/label.go
routers/api/v1/repo/migrate.go
routers/api/v1/repo/milestone.go
routers/api/v1/repo/pull.go
routers/api/v1/repo/pull_review.go
routers/api/v1/repo/release.go
routers/api/v1/repo/release_attachment.go
routers/api/v1/repo/repo.go
routers/api/v1/repo/repo_test.go
routers/api/v1/repo/status.go
routers/api/v1/repo/topic.go
routers/api/v1/repo/transfer.go
routers/api/v1/swagger/options.go
routers/api/v1/user/app.go
routers/api/v1/user/email.go
routers/api/v1/user/gpg_key.go
routers/api/v1/user/key.go
routers/init.go
routers/install.go
routers/org/org.go
routers/org/org_labels.go
routers/org/setting.go
routers/org/teams.go
routers/private/hook.go
routers/private/internal.go
routers/private/key.go
routers/private/mail.go
routers/private/manager.go
routers/private/manager_unix.go
routers/private/manager_windows.go
routers/private/serv.go
routers/repo/branch.go
routers/repo/editor.go
routers/repo/http.go
routers/repo/issue.go
routers/repo/issue_label.go
routers/repo/issue_label_test.go
routers/repo/issue_lock.go
routers/repo/issue_timetrack.go
routers/repo/migrate.go
routers/repo/milestone.go
routers/repo/projects.go
routers/repo/pull.go
routers/repo/pull_review.go
routers/repo/release.go
routers/repo/release_test.go
routers/repo/repo.go
routers/repo/setting.go
routers/repo/setting_protected_branch.go
routers/repo/settings_test.go
routers/repo/webhook.go
routers/repo/wiki.go
routers/repo/wiki_test.go
routers/routes/base.go [new file with mode: 0644]
routers/routes/chi.go [deleted file]
routers/routes/install.go [new file with mode: 0644]
routers/routes/macaron.go [deleted file]
routers/routes/recovery.go [deleted file]
routers/routes/web.go [new file with mode: 0644]
routers/swagger_json.go
routers/user/auth.go
routers/user/auth_openid.go
routers/user/oauth.go
routers/user/setting/account.go
routers/user/setting/account_test.go
routers/user/setting/applications.go
routers/user/setting/keys.go
routers/user/setting/oauth2.go
routers/user/setting/profile.go
routers/user/setting/security_openid.go
routers/user/setting/security_twofa.go
routers/user/setting/security_u2f.go
templates/admin/config.tmpl
templates/repo/sub_menu.tmpl
templates/swagger/v1_json.tmpl
vendor/gitea.com/go-chi/binding/.drone.yml [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/.gitignore [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/LICENSE [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/README.md [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/binding.go [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/errors.go [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/go.mod [new file with mode: 0644]
vendor/gitea.com/go-chi/binding/go.sum [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/.drone.yml [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/.gitignore [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/LICENSE [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/README.md [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/cache.go [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/file.go [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/go.mod [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/go.sum [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/memcache/memcache.go [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/memcache/memcache.goconvey [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/memory.go [new file with mode: 0644]
vendor/gitea.com/go-chi/cache/utils.go [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/.drone.yml [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/LICENSE [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/README.md [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/captcha.go [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/go.mod [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/go.sum [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/image.go [new file with mode: 0644]
vendor/gitea.com/go-chi/captcha/siprng.go [new file with mode: 0644]
vendor/gitea.com/lunny/log/.gitignore [deleted file]
vendor/gitea.com/lunny/log/LICENSE [deleted file]
vendor/gitea.com/lunny/log/README.md [deleted file]
vendor/gitea.com/lunny/log/README_CN.md [deleted file]
vendor/gitea.com/lunny/log/dbwriter.go [deleted file]
vendor/gitea.com/lunny/log/filewriter.go [deleted file]
vendor/gitea.com/lunny/log/go.mod [deleted file]
vendor/gitea.com/lunny/log/go.sum [deleted file]
vendor/gitea.com/lunny/log/logext.go [deleted file]
vendor/gitea.com/lunny/nodb/.gitignore [deleted file]
vendor/gitea.com/lunny/nodb/LICENSE [deleted file]
vendor/gitea.com/lunny/nodb/README.md [deleted file]
vendor/gitea.com/lunny/nodb/README_CN.md [deleted file]
vendor/gitea.com/lunny/nodb/batch.go [deleted file]
vendor/gitea.com/lunny/nodb/binlog.go [deleted file]
vendor/gitea.com/lunny/nodb/binlog_util.go [deleted file]
vendor/gitea.com/lunny/nodb/config/config.go [deleted file]
vendor/gitea.com/lunny/nodb/config/config.toml [deleted file]
vendor/gitea.com/lunny/nodb/const.go [deleted file]
vendor/gitea.com/lunny/nodb/doc.go [deleted file]
vendor/gitea.com/lunny/nodb/dump.go [deleted file]
vendor/gitea.com/lunny/nodb/go.mod [deleted file]
vendor/gitea.com/lunny/nodb/go.sum [deleted file]
vendor/gitea.com/lunny/nodb/info.go [deleted file]
vendor/gitea.com/lunny/nodb/multi.go [deleted file]
vendor/gitea.com/lunny/nodb/nodb.go [deleted file]
vendor/gitea.com/lunny/nodb/nodb_db.go [deleted file]
vendor/gitea.com/lunny/nodb/replication.go [deleted file]
vendor/gitea.com/lunny/nodb/scan.go [deleted file]
vendor/gitea.com/lunny/nodb/store/db.go [deleted file]
vendor/gitea.com/lunny/nodb/store/driver/batch.go [deleted file]
vendor/gitea.com/lunny/nodb/store/driver/driver.go [deleted file]
vendor/gitea.com/lunny/nodb/store/driver/store.go [deleted file]
vendor/gitea.com/lunny/nodb/store/goleveldb/batch.go [deleted file]
vendor/gitea.com/lunny/nodb/store/goleveldb/const.go [deleted file]
vendor/gitea.com/lunny/nodb/store/goleveldb/db.go [deleted file]
vendor/gitea.com/lunny/nodb/store/goleveldb/iterator.go [deleted file]
vendor/gitea.com/lunny/nodb/store/goleveldb/snapshot.go [deleted file]
vendor/gitea.com/lunny/nodb/store/iterator.go [deleted file]
vendor/gitea.com/lunny/nodb/store/snapshot.go [deleted file]
vendor/gitea.com/lunny/nodb/store/store.go [deleted file]
vendor/gitea.com/lunny/nodb/store/tx.go [deleted file]
vendor/gitea.com/lunny/nodb/store/writebatch.go [deleted file]
vendor/gitea.com/lunny/nodb/t_bit.go [deleted file]
vendor/gitea.com/lunny/nodb/t_hash.go [deleted file]
vendor/gitea.com/lunny/nodb/t_kv.go [deleted file]
vendor/gitea.com/lunny/nodb/t_list.go [deleted file]
vendor/gitea.com/lunny/nodb/t_set.go [deleted file]
vendor/gitea.com/lunny/nodb/t_ttl.go [deleted file]
vendor/gitea.com/lunny/nodb/t_zset.go [deleted file]
vendor/gitea.com/lunny/nodb/tx.go [deleted file]
vendor/gitea.com/lunny/nodb/util.go [deleted file]
vendor/gitea.com/macaron/binding/.drone.yml [deleted file]
vendor/gitea.com/macaron/binding/.gitignore [deleted file]
vendor/gitea.com/macaron/binding/LICENSE [deleted file]
vendor/gitea.com/macaron/binding/README.md [deleted file]
vendor/gitea.com/macaron/binding/binding.go [deleted file]
vendor/gitea.com/macaron/binding/errors.go [deleted file]
vendor/gitea.com/macaron/binding/go.mod [deleted file]
vendor/gitea.com/macaron/binding/go.sum [deleted file]
vendor/gitea.com/macaron/cache/.drone.yml [deleted file]
vendor/gitea.com/macaron/cache/.gitignore [deleted file]
vendor/gitea.com/macaron/cache/LICENSE [deleted file]
vendor/gitea.com/macaron/cache/README.md [deleted file]
vendor/gitea.com/macaron/cache/cache.go [deleted file]
vendor/gitea.com/macaron/cache/file.go [deleted file]
vendor/gitea.com/macaron/cache/go.mod [deleted file]
vendor/gitea.com/macaron/cache/go.sum [deleted file]
vendor/gitea.com/macaron/cache/memcache/memcache.go [deleted file]
vendor/gitea.com/macaron/cache/memcache/memcache.goconvey [deleted file]
vendor/gitea.com/macaron/cache/memory.go [deleted file]
vendor/gitea.com/macaron/cache/utils.go [deleted file]
vendor/gitea.com/macaron/captcha/.drone.yml [deleted file]
vendor/gitea.com/macaron/captcha/LICENSE [deleted file]
vendor/gitea.com/macaron/captcha/README.md [deleted file]
vendor/gitea.com/macaron/captcha/captcha.go [deleted file]
vendor/gitea.com/macaron/captcha/go.mod [deleted file]
vendor/gitea.com/macaron/captcha/go.sum [deleted file]
vendor/gitea.com/macaron/captcha/image.go [deleted file]
vendor/gitea.com/macaron/captcha/siprng.go [deleted file]
vendor/gitea.com/macaron/cors/.drone.yml [deleted file]
vendor/gitea.com/macaron/cors/.gitignore [deleted file]
vendor/gitea.com/macaron/cors/LICENSE [deleted file]
vendor/gitea.com/macaron/cors/README.md [deleted file]
vendor/gitea.com/macaron/cors/cors.go [deleted file]
vendor/gitea.com/macaron/cors/go.mod [deleted file]
vendor/gitea.com/macaron/cors/go.sum [deleted file]
vendor/gitea.com/macaron/csrf/.drone.yml [deleted file]
vendor/gitea.com/macaron/csrf/LICENSE [deleted file]
vendor/gitea.com/macaron/csrf/README.md [deleted file]
vendor/gitea.com/macaron/csrf/csrf.go [deleted file]
vendor/gitea.com/macaron/csrf/go.mod [deleted file]
vendor/gitea.com/macaron/csrf/go.sum [deleted file]
vendor/gitea.com/macaron/csrf/xsrf.go [deleted file]
vendor/gitea.com/macaron/gzip/.drone.yml [deleted file]
vendor/gitea.com/macaron/gzip/README.md [deleted file]
vendor/gitea.com/macaron/gzip/go.mod [deleted file]
vendor/gitea.com/macaron/gzip/go.sum [deleted file]
vendor/gitea.com/macaron/gzip/gzip.go [deleted file]
vendor/gitea.com/macaron/i18n/.drone.yml [deleted file]
vendor/gitea.com/macaron/i18n/.gitignore [deleted file]
vendor/gitea.com/macaron/i18n/LICENSE [deleted file]
vendor/gitea.com/macaron/i18n/README.md [deleted file]
vendor/gitea.com/macaron/i18n/go.mod [deleted file]
vendor/gitea.com/macaron/i18n/go.sum [deleted file]
vendor/gitea.com/macaron/i18n/i18n.go [deleted file]
vendor/gitea.com/macaron/inject/.drone.yml [deleted file]
vendor/gitea.com/macaron/inject/LICENSE [deleted file]
vendor/gitea.com/macaron/inject/README.md [deleted file]
vendor/gitea.com/macaron/inject/go.mod [deleted file]
vendor/gitea.com/macaron/inject/go.sum [deleted file]
vendor/gitea.com/macaron/inject/inject.go [deleted file]
vendor/gitea.com/macaron/macaron/.drone.yml [deleted file]
vendor/gitea.com/macaron/macaron/.gitignore [deleted file]
vendor/gitea.com/macaron/macaron/LICENSE [deleted file]
vendor/gitea.com/macaron/macaron/README.md [deleted file]
vendor/gitea.com/macaron/macaron/context.go [deleted file]
vendor/gitea.com/macaron/macaron/go.mod [deleted file]
vendor/gitea.com/macaron/macaron/go.sum [deleted file]
vendor/gitea.com/macaron/macaron/logger.go [deleted file]
vendor/gitea.com/macaron/macaron/macaron.go [deleted file]
vendor/gitea.com/macaron/macaron/macaronlogo.png [deleted file]
vendor/gitea.com/macaron/macaron/recovery.go [deleted file]
vendor/gitea.com/macaron/macaron/render.go [deleted file]
vendor/gitea.com/macaron/macaron/response_writer.go [deleted file]
vendor/gitea.com/macaron/macaron/return_handler.go [deleted file]
vendor/gitea.com/macaron/macaron/router.go [deleted file]
vendor/gitea.com/macaron/macaron/static.go [deleted file]
vendor/gitea.com/macaron/macaron/tree.go [deleted file]
vendor/gitea.com/macaron/macaron/util_go17.go [deleted file]
vendor/gitea.com/macaron/macaron/util_go18.go [deleted file]
vendor/gitea.com/macaron/session/.drone.yml [deleted file]
vendor/gitea.com/macaron/session/.gitignore [deleted file]
vendor/gitea.com/macaron/session/LICENSE [deleted file]
vendor/gitea.com/macaron/session/README.md [deleted file]
vendor/gitea.com/macaron/session/couchbase/couchbase.go [deleted file]
vendor/gitea.com/macaron/session/file.go [deleted file]
vendor/gitea.com/macaron/session/flash.go [deleted file]
vendor/gitea.com/macaron/session/go.mod [deleted file]
vendor/gitea.com/macaron/session/go.sum [deleted file]
vendor/gitea.com/macaron/session/memcache/memcache.go [deleted file]
vendor/gitea.com/macaron/session/memcache/memcache.goconvey [deleted file]
vendor/gitea.com/macaron/session/memory.go [deleted file]
vendor/gitea.com/macaron/session/mysql/mysql.go [deleted file]
vendor/gitea.com/macaron/session/mysql/mysql.goconvey [deleted file]
vendor/gitea.com/macaron/session/nodb/nodb.go [deleted file]
vendor/gitea.com/macaron/session/nodb/nodb.goconvey [deleted file]
vendor/gitea.com/macaron/session/postgres/postgres.go [deleted file]
vendor/gitea.com/macaron/session/postgres/postgres.goconvey [deleted file]
vendor/gitea.com/macaron/session/session.go [deleted file]
vendor/gitea.com/macaron/session/utils.go [deleted file]
vendor/gitea.com/macaron/toolbox/.drone.yml [deleted file]
vendor/gitea.com/macaron/toolbox/.gitignore [deleted file]
vendor/gitea.com/macaron/toolbox/LICENSE [deleted file]
vendor/gitea.com/macaron/toolbox/README.md [deleted file]
vendor/gitea.com/macaron/toolbox/go.mod [deleted file]
vendor/gitea.com/macaron/toolbox/go.sum [deleted file]
vendor/gitea.com/macaron/toolbox/healthcheck.go [deleted file]
vendor/gitea.com/macaron/toolbox/profile.go [deleted file]
vendor/gitea.com/macaron/toolbox/statistic.go [deleted file]
vendor/gitea.com/macaron/toolbox/toolbox.go [deleted file]
vendor/github.com/NYTimes/gziphandler/.gitignore [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/.travis.yml [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/CODE_OF_CONDUCT.md [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/CONTRIBUTING.md [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/LICENSE [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/README.md [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/go.mod [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/go.sum [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/gzip.go [new file with mode: 0644]
vendor/github.com/NYTimes/gziphandler/gzip_go18.go [new file with mode: 0644]
vendor/github.com/go-chi/cors/LICENSE [new file with mode: 0644]
vendor/github.com/go-chi/cors/README.md [new file with mode: 0644]
vendor/github.com/go-chi/cors/cors.go [new file with mode: 0644]
vendor/github.com/go-chi/cors/utils.go [new file with mode: 0644]
vendor/github.com/siddontang/go-snappy/AUTHORS [deleted file]
vendor/github.com/siddontang/go-snappy/CONTRIBUTORS [deleted file]
vendor/github.com/siddontang/go-snappy/LICENSE [deleted file]
vendor/github.com/siddontang/go-snappy/snappy/decode.go [deleted file]
vendor/github.com/siddontang/go-snappy/snappy/encode.go [deleted file]
vendor/github.com/siddontang/go-snappy/snappy/snappy.go [deleted file]
vendor/modules.txt