1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 19:04:57 +01:00
gitea/cmd
zeripath 4569339a4b
Refactor doctor (#12264)
* Refactor Logger

Refactor Logger to make a logger interface and make it possible to
wrap loggers for specific purposes.

* Refactor Doctor

    Move the gitea doctor functions into its own module.
    Use a logger for its messages instead of returning a results string[]

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/doctor/misc.go

Co-authored-by: 6543 <6543@obermui.de>

* Update modules/doctor/misc.go

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-02 06:56:04 +02:00
..
admin_auth_ldap_test.go
admin_auth_ldap.go
admin.go
cert.go
cmd.go
convert.go
docs.go
doctor.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
dump.go
embedded_stub.go
embedded.go
generate.go
hook.go
keys.go
mailer.go
manager.go
migrate_storage.go
migrate.go
serv.go
web_graceful.go
web.go