diff options
| author | Shulhan <ms@kilabit.info> | 2024-05-12 15:41:46 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-05-12 16:32:39 +0700 |
| commit | 9d9185934024b1c82ee4d1bc43a88cbe09465361 (patch) | |
| tree | 7e63e18bc6b35b47361ec00e64858f5e1dd72154 /ciigo.go | |
| parent | 8ec4ae80bccd318c4970cd5bdf7d471acaa7ff2c (diff) | |
| download | ciigo-0.13.0.tar.xz | |
Release ciigo v0.13.0 (2024-05-12)v0.13.0
=== New features
* cmd/ciigo: add flag to set package and variable name for "embed"
The flag "-package-name" can be used to changes the default package
name inside the Go embed file. The flag "-var-name" can be used to
changes the default memfs variable name inside the Go embed file.
=== Enhancements
* all: fix HTML files always generated when HTMLTemplate is not set
If the path to HTMLTemplate option is not set, GoEmbed should convert
to HTML only if markup file is newer than HTML file or when HTML file
not exist.
* all: initialize memfs using New
When memfs not initialized using New, the [memfs.MemFS.PathNodes]
will be nil. This cause any Get on new file will return 404.
Diffstat (limited to 'ciigo.go')
| -rw-r--r-- | ciigo.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ const ( ) // Version define the latest tagged release of this module. -var Version = `0.12.0` +var Version = `0.13.0` // defExcludes define default files to be excludes on GoEmbed. var defExcludes = []string{ |
