summaryrefslogtreecommitdiff
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/template.go b/template.go
new file mode 100644
index 0000000..df215e5
--- /dev/null
+++ b/template.go
@@ -0,0 +1,21 @@
+package main
+
+import (
+ "embed"
+)
+
+//go:embed templates/verbatim
+var verbatim embed.FS
+
+func writeVerbatim() error {
+ entries, err := verbatim.ReadDir("templates/verbatim")
+ if err != nil {
+ return err
+ }
+
+ for _, e := range entries {
+ print(e.Name())
+ }
+
+ return nil
+}