diff options
| author | Shulhan <ms@kilabit.info> | 2024-09-28 23:01:36 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-09-28 23:01:36 +0700 |
| commit | ef126797ffd6e3ea873bcad18b90a03c4c9071b8 (patch) | |
| tree | 7ea1c592b2226156c1b62c8219ddfe24cf1837d5 /watcher.go | |
| parent | 70ef08ff94c828542de5a3504bc4645b733272e7 (diff) | |
| download | ciigo-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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` ) |
