summaryrefslogtreecommitdiff
path: root/templates.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2023-11-14 21:53:09 -0700
committertjp <tjp@ctrl-c.club>2023-11-14 21:53:09 -0700
commit77725e02cc964f980465b158bb86c4061e6bfcca (patch)
treee6e2ae135b08ff82d3244c0369607bc4046730c9 /templates.go
parent8c6db5a6847aea8955579c4d709d3f7748745f3d (diff)
support for nex protocolHEADv0.9.5main
Diffstat (limited to 'templates.go')
-rw-r--r--templates.go9
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(