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>
Этот коммит содержится в:
Agniva De Sarker
2024-03-22 10:23:21 +05:30
коммит произвёл GitHub
родитель 7bae6c57f9
Коммит 9431239b2e
14 изменённых файлов: 51 добавлений и 63 удалений

Просмотреть файл

@@ -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},