test for plugin and goloader logics
Go to file
Aliberk Sandıkçı 1228feddc8
sync old local changes
2023-12-31 08:48:12 +03:00
.vscode Initial Commit 2023-08-31 20:51:52 +03:00
cmd/go-loader-test sync old local changes 2023-12-31 08:48:12 +03:00
pkg/utils Initial Commit 2023-08-31 20:51:52 +03:00
plugins temporary tests 2023-09-01 19:52:53 +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
go-loader-test temporary tests 2023-09-01 19:52:53 +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

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 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