diff options
author | 2023-04-29 11:48:34 -0700 | |
---|---|---|
committer | 2023-04-29 11:48:34 -0700 | |
commit | 29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d (patch) | |
tree | 5a151adbee7a1d94d3b1b91542f0bafbf83024cf /main.go | |
parent | 8d9e76b1f11fd164ef83614bdc485ffd71088d9c (diff) | |
download | sally-29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d.tar.gz sally-29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d.tar.zst sally-29d8e3f3835cc7543c390a8a8f5bdfd67bcd3c2d.zip |
refactor(indexHandler): Don't retain configuration (#86)
Similar to the previous patch,
this patch removes knowledge of the configuration from the index handler.
Instead, the index handler is now passed a list of packageInfo structs
each containing just the information needed to render the index page.
This also obviates the need to duplicate the logic to compute
the package import path in the index.html template.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions