test for plugin and goloader logics
Find a file
2023-09-01 10:59:39 +03:00
.vscode Initial Commit 2023-08-31 20:51:52 +03:00
cmd/go-loader-test test crosscompile feature with goloader 2023-09-01 10:59:39 +03:00
pkg/utils Initial Commit 2023-08-31 20:51:52 +03:00
plugins test crosscompile feature with goloader 2023-09-01 10:59:39 +03:00
go-loader-test test crosscompile feature with goloader 2023-09-01 10:59:39 +03:00
go.mod implement eh-steve/goloader 2023-09-01 00:42:38 +03:00
go.sum implement eh-steve/goloader 2023-09-01 00:42:38 +03:00
Makefile Initial Commit 2023-08-31 20:51:52 +03:00
README.md test crosscompile feature with goloader 2023-09-01 10:59:39 +03:00

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