diff options
author | tjp <tjp@ctrl-c.club> | 2023-11-14 21:53:09 -0700 |
---|---|---|
committer | tjp <tjp@ctrl-c.club> | 2023-11-14 21:53:09 -0700 |
commit | 77725e02cc964f980465b158bb86c4061e6bfcca (patch) | |
tree | e6e2ae135b08ff82d3244c0369607bc4046730c9 /templates.go | |
parent | 8c6db5a6847aea8955579c4d709d3f7748745f3d (diff) |
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( |