Skip to content

Commit

Permalink
refactor: significantly clean up the federation.gotpl template
Browse files Browse the repository at this point in the history
There were a number of inline structs and inline functions that made it extremely hard to reason about what the code is doing. Split these out into smaller functions with less closures and mutation.

Part of the setup to help with fixing #2991.
  • Loading branch information
clayne11 committed Jul 18, 2024
1 parent 7cd1f68 commit 6b2c54a
Show file tree
Hide file tree
Showing 10 changed files with 1,918 additions and 2,276 deletions.
276 changes: 152 additions & 124 deletions _examples/federation/accounts/graph/federation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b2c54a

Please sign in to comment.