v8.0 module release (#22975)
https://mattermost.atlassian.net/browse/MM-52079 ```release-note We upgrade the module version to 8.0. The new module path is github.com/mattermost-server/server/v8. ``` Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
831ea38f7e
Коммит
b200a07881
@@ -6,7 +6,7 @@ package main
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type Plugin struct {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type Plugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type configuration struct {
|
||||
|
||||
@@ -6,9 +6,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type configuration struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -6,8 +6,8 @@ package main
|
||||
import (
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type PluginUsingLogAPI struct {
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
"database/sql"
|
||||
"testing"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/store/sqlstore"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/store/storetest"
|
||||
"github.com/mattermost/mattermost-server/v6/server/platform/shared/driver"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/store/sqlstore"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/store/storetest"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/platform/shared/driver"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -6,9 +6,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -6,9 +6,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/v6/server/platform/shared/mail"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/platform/shared/mail"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"image/color"
|
||||
"image/png"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
@@ -6,9 +6,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/plugin"
|
||||
"github.com/mattermost/mattermost-server/v6/server/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/channels/app/plugin_api_tests"
|
||||
"github.com/mattermost/mattermost-server/server/v8/model"
|
||||
"github.com/mattermost/mattermost-server/server/v8/plugin"
|
||||
)
|
||||
|
||||
type MyPlugin struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user