Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin: document that the package is not recommended #56893

Closed
marwan-at-work opened this issue Nov 22, 2022 · 2 comments
Closed

plugin: document that the package is not recommended #56893

marwan-at-work opened this issue Nov 22, 2022 · 2 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation FrozenDueToAge

Comments

@marwan-at-work
Copy link
Contributor

marwan-at-work commented Nov 22, 2022

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

@adonovan
Copy link
Member

Hi Marwan! I agree it would be a good idea to write down the technical problems it creates (as well as those it solves) so that users can make an informed decision.

@adonovan adonovan self-assigned this Nov 22, 2022
@gopherbot
Copy link

Change https://go.dev/cl/452695 mentions this issue: plugin: add warning

@seankhliao seankhliao changed the title Document that the plugin package is not recommended plugin: document that the package is not recommended Nov 22, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Nov 22, 2022
@golang golang locked and limited conversation to collaborators Nov 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

3 participants