v0.13.0 Feature release
This feature release drops support for the packr
library in favor of go's embed feature. This is a breaking change.
Because embed.FS usage requires assets to be present in a sibling folder to the package using the embedding directive, your data repository might need to be refactored.
You have two choices:
- If you want to enable
go install
of your summon data executable, position theassets
and thesummon.go
entry point inside asummon
directory. Upon install, this will create an executable namedsummon
. - If you do not need
go install
or if your repository has the wanted name for your exe, just move thesummon.go
file at the root (at the same level as theassets
directory).
You can delete the packr
related files.
The https://github.com/davidovich/summon-example-assets repo has been updated to reflect the new layout.
What's Changed
- Implement fs by @davidovich in #76
Full Changelog: v0.12.0...v0.13.0