MM-57378: Bump up golangci version (#26535)
https://mattermost.atlassian.net/browse/MM-57378 ```release-note NONE ``` Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7bae6c57f9
Коммит
9431239b2e
@@ -16,15 +16,15 @@ const (
|
||||
//
|
||||
// Call this when your plugin is ready to start.
|
||||
func ClientMain(pluginImplementation any) {
|
||||
if impl, ok := pluginImplementation.(interface {
|
||||
impl, ok := pluginImplementation.(interface {
|
||||
SetAPI(api API)
|
||||
SetDriver(driver Driver)
|
||||
}); !ok {
|
||||
})
|
||||
if !ok {
|
||||
panic("Plugin implementation given must embed plugin.MattermostPlugin")
|
||||
} else {
|
||||
impl.SetAPI(nil)
|
||||
impl.SetDriver(nil)
|
||||
}
|
||||
impl.SetAPI(nil)
|
||||
impl.SetDriver(nil)
|
||||
|
||||
pluginMap := map[string]plugin.Plugin{
|
||||
"hooks": &hooksPlugin{hooks: pluginImplementation},
|
||||
|
||||
Ссылка в новой задаче
Block a user