go-loader-test/README.md

753 B

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 to BuildEnv: []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