summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-06 21:30:25 +0700
committerShulhan <ms@kilabit.info>2023-11-07 20:18:58 +0700
commit3ca487dff9ea91ef6d60e4a9e7a78ea8e177bff1 (patch)
tree63435a89217b9a74e67e5858e28511881334c46e
parentd49ba537f82fb418723390744768d3525ed3c986 (diff)
downloadciigo-3ca487dff9ea91ef6d60e4a9e7a78ea8e177bff1.tar.xz
all: add comment to exported variable Version
-rw-r--r--ciigo.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/ciigo.go b/ciigo.go
index 25250da..033f74f 100644
--- a/ciigo.go
+++ b/ciigo.go
@@ -26,15 +26,15 @@ const (
internalTemplatePath = `_internal/.template`
)
-var (
- Version = `0.10.0`
+// Version define the latest tagged release of this module.
+var Version = `0.10.0`
- defExcludes = []string{
- `.*\.adoc$`,
- `.*\.md$`,
- `^\..*`,
- }
-)
+// defExcludes define default files to be excludes on GoEmbed.
+var defExcludes = []string{
+ `.*\.adoc$`,
+ `.*\.md$`,
+ `^\..*`,
+}
// Convert all markup files inside directory "dir" recursively into HTML
// files using ConvertOptions HtmlTemplate file as base template.