aboutsummaryrefslogtreecommitdiff
path: root/watcher_test.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_test.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_test.go')
-rw-r--r--watcher_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/watcher_test.go b/watcher_test.go
index 1f8b2e3..063eb8f 100644
--- a/watcher_test.go
+++ b/watcher_test.go
@@ -36,7 +36,7 @@ func TestWatcher(t *testing.T) {
var testWatcher *watcher
- testWatcher, err = newWatcher(converter, &convertOpts)
+ testWatcher, err = newWatcher(converter, convertOpts)
if err != nil {
t.Fatal(err)
}