Commit Graph

2 Commits (3ae1d7a59f007b37718a4fcd229baf62a6606fd4)

Author SHA1 Message Date
John Olheiser d054c4e7f3
Add err to log () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
zeripath 4569339a4b
Refactor doctor ()
* 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>