aboutsummaryrefslogtreecommitdiff
path: root/watcher.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-09-28 23:01:36 +0700
committerShulhan <ms@kilabit.info>2024-09-28 23:01:36 +0700
commitef126797ffd6e3ea873bcad18b90a03c4c9071b8 (patch)
tree7ea1c592b2226156c1b62c8219ddfe24cf1837d5 /watcher.go
parent70ef08ff94c828542de5a3504bc4645b733272e7 (diff)
downloadciigo-ef126797ffd6e3ea873bcad18b90a03c4c9071b8.tar.xz
all: introduce new type Ciigo
The Ciigo type provides customizable and reusable instance of ciigo for embedding, converting, and/or serving HTTP server. This type is introduced so one can add HTTP handler or endpoint along with serving the files.
Diffstat (limited to 'watcher.go')
-rw-r--r--watcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/watcher.go b/watcher.go
index 81d2d12..6568629 100644
--- a/watcher.go
+++ b/watcher.go
@@ -43,7 +43,7 @@ type watcher struct {
// +-- watchHTMLTemplate +--> DELETE --> Converter.htmlTemplateUseInternal()
// |
// +--> UPDATE --> Converter.convertFileMarkups()
-func newWatcher(converter *Converter, convertOpts *ConvertOptions) (w *watcher, err error) {
+func newWatcher(converter *Converter, convertOpts ConvertOptions) (w *watcher, err error) {
var (
logp = `newWatcher`
)