MM-57245: Bump up Go version to 1.21 (#26512)

* MM-57245: Bump up Go version to 1.21

https://mattermost.atlassian.net/browse/MM-57245
```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2024-03-21 09:12:35 +05:30
коммит произвёл GitHub
родитель 1dc5c006f2
Коммит 5e851f708b
38 изменённых файлов: 1151 добавлений и 1142 удалений

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

@@ -41,7 +41,7 @@ func (s *MmctlUnitTestSuite) TestIntegrityCmd() {
}
s.client.
EXPECT().
CheckIntegrity(context.Background()).
CheckIntegrity(context.TODO()).
Return(mockResults, &model.Response{}, nil).
Times(1)
@@ -59,7 +59,7 @@ func (s *MmctlUnitTestSuite) TestIntegrityCmd() {
s.client.
EXPECT().
CheckIntegrity(context.Background()).
CheckIntegrity(context.TODO()).
Return(nil, &model.Response{}, errors.New("mock error")).
Times(1)
@@ -99,7 +99,7 @@ func (s *MmctlUnitTestSuite) TestIntegrityCmd() {
}
s.client.
EXPECT().
CheckIntegrity(context.Background()).
CheckIntegrity(context.TODO()).
Return(mockResults, &model.Response{}, nil).
Times(1)
var expected error