implemented init function
This commit is contained in:
parent
19ec6d1571
commit
018dbe1ef0
@ -43,6 +43,9 @@ func RegisterPlugin(plugin Plugin) error {
|
||||
}
|
||||
|
||||
namePlugins[name] = plugin
|
||||
|
||||
plugin.Init()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
package plugin
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
@ -46,7 +45,6 @@ func (m Musify) RegexSong() *regexp.Regexp {
|
||||
|
||||
func (m Musify) Search(query common.Query) ([]data.MusicObject, error) {
|
||||
res := []data.MusicObject{}
|
||||
fmt.Println("meow")
|
||||
return res, nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user