test for plugin and goloader logics
.vscode | ||
cmd/go-loader-test | ||
pkg/utils | ||
plugins | ||
go-loader-test | ||
go.mod | ||
go.sum | ||
Makefile | ||
README.md |
This branch uses unofficial goloader implementation, see https://pkg.go.dev/github.com/eh-steve/goloader, https://github.com/eh-steve/goloader and https://git.aliberksandikci.com.tr/Liderahenk/ahenk-docs/src/branch/main/dev/resources.md#goloader-plugin-logic for more information
When building for windows:
- change
.vscode/settings.json
to"go.buildFlags": ["-tags=windows"],
- change
cmd/go-loader-test/plugin-manager.go
toBuildEnv: []string{"GOOS=windows"},
Pros
- Fast, Lightweight
- Can be unload
- Can be use with windows
- Can build go programs in runtime
Cons
- Unofficial
- Changes default go configs and compiler settings !!
- Missing Security features ?
- Missing feature: use precompiled binaries