diff options
Diffstat (limited to 'forged/internal/embed/embed.go')
-rw-r--r-- | forged/internal/embed/embed.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 |