forgejo/models/forgefed
famfo 5f432e32c8 chore(federation): re-enable nilnil lint (#11253)
First round of patches to re-enable some lints from my side.

This PR also refactors the general key fetching code quite a bit due to the way it currently worked
with relying on some values being nil sometimes.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11253
Reviewed-by: elle <0xllx0@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
2026-04-13 22:05:29 +02:00
..
error.go chore(federation): re-enable nilnil lint (#11253) 2026-04-13 22:05:29 +02:00
federationhost.go Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
federationhost_repository.go chore(federation): re-enable nilnil lint (#11253) 2026-04-13 22:05:29 +02:00
federationhost_test.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
nodeinfo.go Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
nodeinfo_test.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00