merging type of 2 arguments into a single declaration.

This commit is contained in:
Todd Knight committed 2021-09-08 16:59:54 -07:00
1 parent a78f16c969
commit ce26b0d981
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ type Plugin struct {
// NewPlugin creates a new in memory Plugin assigned to the global scope.
// Name, Description are the only allowed option. All other options are ignored.
func NewPlugin(pluginName string, idPrefix string, opt ...Option) *Plugin {
func NewPlugin(pluginName, idPrefix string, opt ...Option) *Plugin {
opts := getOpts(opt...)
p := &Plugin{
Plugin: &store.Plugin{