MM-53032: Fix module path after repo rename (#23689)

It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.

https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.

For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
Этот коммит содержится в:
Agniva De Sarker
2023-06-11 10:54:35 +05:30
коммит произвёл GitHub
родитель a6d1d38b27
Коммит efaa6264cc
1425 изменённых файлов: 3864 добавлений и 3864 удалений

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

@@ -7,7 +7,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/server/public/plugin"
"github.com/mattermost/mattermost/server/public/plugin"
)
// Conn is a DB driver conn implementation

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

@@ -12,7 +12,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/server/public/plugin"
"github.com/mattermost/mattermost/server/public/plugin"
)
var (

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

@@ -7,7 +7,7 @@ import (
"context"
"database/sql/driver"
"github.com/mattermost/mattermost-server/server/public/plugin"
"github.com/mattermost/mattermost/server/public/plugin"
)
type wrapperTx struct {

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

@@ -8,7 +8,7 @@ import (
"io"
"time"
"github.com/mattermost/mattermost-server/server/public/model"
"github.com/mattermost/mattermost/server/public/model"
"github.com/pkg/errors"
)

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

@@ -18,7 +18,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/xtgo/uuid"
"github.com/mattermost/mattermost-server/server/public/shared/mlog"
"github.com/mattermost/mattermost/server/public/shared/mlog"
)
func randomString() string {

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

@@ -12,7 +12,7 @@ import (
"github.com/pkg/errors"
"github.com/mattermost/mattermost-server/server/public/shared/mlog"
"github.com/mattermost/mattermost/server/public/shared/mlog"
)
const (

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

@@ -7,7 +7,7 @@ package mocks
import (
io "io"
filestore "github.com/mattermost/mattermost-server/server/v8/platform/shared/filestore"
filestore "github.com/mattermost/mattermost/server/v8/platform/shared/filestore"
mock "github.com/stretchr/testify/mock"

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

@@ -19,7 +19,7 @@ import (
"github.com/minio/minio-go/v7/pkg/encrypt"
"github.com/pkg/errors"
"github.com/mattermost/mattermost-server/server/public/shared/mlog"
"github.com/mattermost/mattermost/server/public/shared/mlog"
)
// S3FileBackend contains all necessary information to communicate with

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

@@ -18,7 +18,7 @@ import (
"testing"
"time"
"github.com/mattermost/mattermost-server/server/public/model"
"github.com/mattermost/mattermost/server/public/model"
s3 "github.com/minio/minio-go/v7"
"github.com/stretchr/testify/require"
)

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

@@ -18,8 +18,8 @@ import (
"github.com/pkg/errors"
gomail "gopkg.in/mail.v2"
"github.com/mattermost/mattermost-server/server/public/model"
"github.com/mattermost/mattermost-server/server/public/shared/mlog"
"github.com/mattermost/mattermost/server/public/model"
"github.com/mattermost/mattermost/server/public/shared/mlog"
)
const (

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

@@ -15,8 +15,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost-server/server/public/plugin/plugintest/mock"
"github.com/mattermost/mattermost-server/server/v8/channels/store/storetest/mocks"
"github.com/mattermost/mattermost/server/public/plugin/plugintest/mock"
"github.com/mattermost/mattermost/server/v8/channels/store/storetest/mocks"
)
func TestGenerateSecret(t *testing.T) {

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

@@ -13,7 +13,7 @@ import (
"github.com/fsnotify/fsnotify"
"github.com/mattermost/mattermost-server/server/v8/channels/utils/fileutils"
"github.com/mattermost/mattermost/server/v8/channels/utils/fileutils"
)
// Container represents a set of templates that can be render