mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-25 11:31:47 +00:00
Status answers what is registered, what is applied, and what is applied while nothing registers it - and needs a database to do it. A readiness check needs only the first half, and it already holds the databases it is asking about. Without this it would have to call SetDb to reuse Status, writing this package's shared state from a request path, for a question that does not depend on any database at all.