From 38b3661b45ff62de28abc20057503422337330f7 Mon Sep 17 00:00:00 2001 From: Francesc Campoy Date: Wed, 8 Feb 2017 19:12:19 -0800 Subject: [PATCH] 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 --- src/plugin/plugin.go | 3 --- 1 file changed, 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 -- 2.50.0