v0.0.1-beta03
ShindouMihou
released this
10 Jan 15:24
·
3 commits
to master
since this release
Changelog
- Fixes a critical bug wherein imports are not changed to the correct path (i.e. when we preprocess, we create a new directory usually
.build
, but in this bug, we didn't change the imports to that directory, which means that all imports in the same module were going to the unprocessed files, leading to the preprocessor being useless).
We recommend specifying where your go.mod
is located, or specifying your module names, through:
k := korin.New()
// Specify the module name, this will skip reading the `go.mod` to find the module name, which can
// make preprocessing somewhat faster (not significantly since we only read one line).
// k.ModuleName = "github.com/ShindouMihou/korin"
// Specifying the location of your go.mod, not providing a ModuleName, and also not providing the correct
// path to your go.mod will result in an error since it cannot find the Module Name.
// k.ModulePath = "./go.mod"