From 6f5e22e764283262ae8c6519bb030766db0fd35b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 09:58:02 +0800 Subject: Add more documentation comments --- forged/internal/embed/embed.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'forged/internal/embed') diff --git a/forged/internal/embed/embed.go b/forged/internal/embed/embed.go index c9eeeb3..1f0dcdf 100644 --- a/forged/internal/embed/embed.go +++ b/forged/internal/embed/embed.go @@ -6,9 +6,15 @@ package embed import "embed" +// Source contains the licenses and source tarballs collected at build time. +// It is intended to be served to the user. +// //go:embed LICENSE* source.tar.gz var Source embed.FS +// Resources contains the templates and static files used by the web interface, +// as well as the git backend daemon and the hookc helper. +// //go:embed forged/templates/* forged/static/* //go:embed hookc/hookc git2d/git2d var Resources embed.FS -- cgit v1.2.3