1
0
mirror of https://github.com/golang/go synced 2024-09-29 00:24:30 -06:00

plugin: mention that there are known bugs with plugins

Change-Id: I9e63661cac2bebc41d7aa3cd80e1920eec22b894
Reviewed-on: https://go-review.googlesource.com/51250
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Ian Lance Taylor 2017-07-26 09:46:58 -07:00
parent 45a4609c0a
commit ac29f30dbb

View File

@ -4,8 +4,6 @@
// Package plugin implements loading and symbol resolution of Go plugins. // Package plugin implements loading and symbol resolution of Go plugins.
// //
// Currently plugins only work on Linux.
//
// A plugin is a Go main package with exported functions and variables that // A plugin is a Go main package with exported functions and variables that
// has been built with: // has been built with:
// //
@ -14,6 +12,9 @@
// When a plugin is first opened, the init functions of all packages not // When a plugin is first opened, the init functions of all packages not
// already part of the program are called. The main function is not run. // already part of the program are called. The main function is not run.
// A plugin is only initialized once, and cannot be closed. // A plugin is only initialized once, and cannot be closed.
//
// The plugin support is currently incomplete, only supports Linux,
// and has known bugs. Please report any issues.
package plugin package plugin
// Plugin is a loaded Go plugin. // Plugin is a loaded Go plugin.