merging type of 2 arguments into a single declaration.
This commit is contained in:
1 parent
a78f16c969
commit
ce26b0d981
1 file changed
+1
-1
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user