go-winplugin - Runtime Plugin System for Go on Windows

Hello everyone,

I would like to share a project I’ve been working on called go-winplugin.

The goal is to provide runtime plugin support for Go applications running on Windows, where the standard Go plugin package is currently unavailable.

Key capabilities:

  • Runtime DLL generation

  • Dynamic symbol loading

  • Package-wide function discovery

  • Multi-file plugin support

  • Automatic CGO bridge generation

  • Sandbox validation

  • Struct type detection

The project is currently at v0.2.0.

Repository:
https://github.com/RamanSharma100/go-winplugin

Documentation:
https://pkg.go.dev/github.com/RamanSharma100/go-winplugin

I would be interested in feedback regarding:

  • API design

  • Security considerations

  • Plugin architecture

  • Runtime loading approaches

  • Future roadmap

Thank you.

1 Like