diff options
author | Francesc Campoy <campoy@golang.org> | 2017-02-08 19:12:19 -0800 |
---|---|---|
committer | Francesc Campoy Flores <campoy@golang.org> | 2017-02-09 18:32:53 +0000 |
commit | 38b3661b45ff62de28abc20057503422337330f7 (patch) | |
tree | 0dc7057c8649a92ca8def83d92e40cd62c9822e6 /src/plugin | |
parent | bd2f7c7c411bdbd75a194e745bec222390c1c99e (diff) | |
download | go-38b3661b45ff62de28abc20057503422337330f7.tar.gz go-38b3661b45ff62de28abc20057503422337330f7.zip |
plugin: remove unnecessary import "C" from example
It seems that it is not needed to import the pseudo package "C"
for the plugin to be built correctly.
Removing it to avoid confusion.
Change-Id: I62838a953ad2889881bfbfd1a36141661565f033
Reviewed-on: https://go-review.googlesource.com/36638
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/plugin')
-rw-r--r-- | src/plugin/plugin.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go index b86099a4f6..3dc7964048 100644 --- a/src/plugin/plugin.go +++ b/src/plugin/plugin.go @@ -44,9 +44,6 @@ func (p *Plugin) Lookup(symName string) (Symbol, error) { // // package main // -// // // No C code needed. -// import "C" -// // import "fmt" // // var V int |