Skip to content

Commit

Permalink
Merge pull request #198 from shubham-cmyk/patch-2
Browse files Browse the repository at this point in the history
Update extensive-go-plugin-tutorial.md
  • Loading branch information
fairclothjm committed May 31, 2022
2 parents 11fe515 + 750f3a4 commit a02e5c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/extensive-go-plugin-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ And last but not least is the `Plugins` map. This map is used in order to identi

~~~go
// pluginMap is the map of plugins we can dispense.
var pluginMap = map[string]plugin.Pluglin "greeter": &example.GreeterPlugin{},
}
var pluginMap = map[string]plugin.Plugin{"greeter": &example.GreeterPlugin{}}
~~~

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

0 comments on commit a02e5c7

Please sign in to comment.