remove buffers in file writer
1 file changed, 6 insertions(+), 2 deletions(-)
changed files
M domain/vanity/templates/gopkg.go → domain/vanity/templates/gopkg.go
@@ -17,7 +17,7 @@ Domain config.URL Forge config.URL } -func GoPackageListPage(site templates.SiteSettings, cfg *config.GoPackagesConfig) g.Node { +func GoPackageListPage(site templates.SiteSettings, cfg *config.GoPackagesConfig) g.NodeWriter { return templates.Layout(site, templates.PageSettings{ Title: site.Title, TitleAttrs: templates.Attrs{"class": "p-author h-card"},@@ -43,7 +43,11 @@ ), ) } -func GoPackagePage(site templates.SiteSettings, cfg *config.GoPackagesConfig, pkg string) g.Node { +func GoPackagePage( + site templates.SiteSettings, + cfg *config.GoPackagesConfig, + pkg string, +) g.NodeWriter { return templates.Layout(site, templates.PageSettings{ Title: site.Title, TitleAttrs: templates.Attrs{"class": "p-author h-card"},