diff options
Diffstat (limited to 'templates.go')
-rw-r--r-- | templates.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates.go b/templates.go index f5f25af..24f8733 100644 --- a/templates.go +++ b/templates.go @@ -18,6 +18,15 @@ var ( ) var ( + //go:embed templates/*.nex.txt + nexTemplateFS embed.FS + nexTemplate = template.Must(template.ParseFS( + nexTemplateFS, + "templates/*.nex.txt", + )) +) + +var ( //go:embed templates/*.gph templates/*.gph.txt gopherTemplateFS embed.FS gopherTemplate = template.Must( |