diff options
| author | cui fliter <imcusg@gmail.com> | 2023-11-03 19:19:58 +0800 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2023-11-06 19:46:10 +0000 |
| commit | f8c5d04e55edcc8eb00a6c8143a2c6d22695f12b (patch) | |
| tree | fe0fdc02a212d9e27c52fdf67b8a1365da587cdf /src | |
| parent | 7dd94371339866b5809da2ad89b9c0b49b569ac5 (diff) | |
| download | go-f8c5d04e55edcc8eb00a6c8143a2c6d22695f12b.tar.xz | |
plugin: add available godoc link
Change-Id: I371b52215d3f9efdcab1439e7215f340dbf1ec08
Reviewed-on: https://go-review.googlesource.com/c/go/+/539598
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugin/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go index 187d127432..b4b1697b52 100644 --- a/src/plugin/plugin.go +++ b/src/plugin/plugin.go @@ -74,7 +74,7 @@ type Plugin struct { } // Open opens a Go plugin. -// If a path has already been opened, then the existing *Plugin is returned. +// If a path has already been opened, then the existing *[Plugin] is returned. // It is safe for concurrent use by multiple goroutines. func Open(path string) (*Plugin, error) { return open(path) @@ -100,7 +100,7 @@ func (p *Plugin) Lookup(symName string) (Symbol, error) { // // func F() { fmt.Printf("Hello, number %d\n", V) } // -// may be loaded with the Open function and then the exported package +// may be loaded with the [Open] function and then the exported package // symbols V and F can be accessed // // p, err := plugin.Open("plugin_name.so") |
