Skip to content

Commit a02e5c7

Browse files
authored
Merge pull request #198 from shubham-cmyk/patch-2
Update extensive-go-plugin-tutorial.md
2 parents 11fe515 + 750f3a4 commit a02e5c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/extensive-go-plugin-tutorial.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ And last but not least is the `Plugins` map. This map is used in order to identi
9090

9191
~~~go
9292
// pluginMap is the map of plugins we can dispense.
93-
var pluginMap = map[string]plugin.Pluglin "greeter": &example.GreeterPlugin{},
94-
}
93+
var pluginMap = map[string]plugin.Plugin{"greeter": &example.GreeterPlugin{}}
9594
~~~
9695

9796
You can see that the key is the name of the plugin and the value is the plugin.

0 commit comments

Comments
 (0)