diff options
Diffstat (limited to 'generate.go')
| -rw-r--r-- | generate.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/generate.go b/generate.go index 80dfe35..c2b9e96 100644 --- a/generate.go +++ b/generate.go @@ -11,6 +11,12 @@ import ( ) func main() { - ciigo.Generate("./_content", "cmd/www-golangid/static.go", - "./_templates/html.tmpl") + opts := &ciigo.GenerateOptions{ + Root: "_content", + HTMLTemplate: "./_templates/html.tmpl", + GenPackageName: "main", + GenVarName: "memFS", + GenGoFileName: "cmd/www-golangid/static.go", + } + ciigo.Generate(opts) } |
