summaryrefslogtreecommitdiff
tag namev0.13.0 (277fba6eab4b097cc7b15813fd92fbfc3e24929f)
tag date2024-05-12 16:32:46 +0700
tagged byShulhan <ms@kilabit.info>
tagged objectcommit 9d91859340...
downloadciigo-0.13.0.tar.xz
Release ciigo v0.13.0 (2024-05-12)
=== 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. -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyS35x1RIQ2SkuGz5KU2C1AMnE8AUCZkCMxAAKCRBKU2C1AMnE 8EWRAP9pr/6jaDYPTZ4h+hF8Nu/T1+moF8SGHNa4oFMIp8dDWAEAm5DXC+6TMafC Roorq05OdmHThoLcqzWU0aLTijXvdAw= =BAHt -----END PGP SIGNATURE-----