Skip to content

v0.13.0 Feature release

Compare
Choose a tag to compare
@davidovich davidovich released this 06 Nov 21:50
f5d6cb0

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 the assets and the summon.go entry point inside a summon directory. Upon install, this will create an executable named summon.
  • If you do not need go install or if your repository has the wanted name for your exe, just move the summon.go file at the root (at the same level as the assets 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

Full Changelog: v0.12.0...v0.13.0