diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-10-17 23:58:36 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-10-17 23:58:36 -0600 |
commit | 2003c8064e7e8209d765eaac4003c47a122c057f (patch) | |
tree | 8564ec4c706f9870708737b3efbd4de127756eea /templates | |
parent | 01076278493fd722fc658e7d51b49267c9c37dff (diff) |
embed templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/mytemplates.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/mytemplates.go b/templates/mytemplates.go new file mode 100644 index 0000000..82dc999 --- /dev/null +++ b/templates/mytemplates.go @@ -0,0 +1,8 @@ +package mytemplates + +import "embed" + +// myTemplates represent the templates used by the application. +// +//go:embed *.html *.gtpl components/*.html +var Templates embed.FS |