plugin: document that the package is not recommended #56893
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Documentation
Issues describing a change to documentation.
FrozenDueToAge
Hi there,
Almost every informal conversation I have with a member of the Go team about the
plugin
package, they tell me to stay away from it for various reasons.However, the package docs don't mention anything about that: https://pkg.go.dev/plugin
There are projects in the open source that use plugins as a measure of extensibility such as tyk.
Therefore, we should really document that the package should just not be used in any serious/production environments if what I've heard in the past about the plugin package still applies.
Furthermore, it would be great to document what are the reasons/concerns to making the plugin package not production-ready and maybe eventually resolve that as it certainly can be helpful.
cc: @bcmills @alandonovan and @ianthehat from a few conversations in the past :)
The text was updated successfully, but these errors were encountered: