Moving app from singular to being created for every request (#9889)

* Moving app from singular to being created for every request.

* Automatic refactor

* Adding license header

* Feedback fixes
Этот коммит содержится в:
Christopher Speller
2018-11-28 10:56:21 -08:00
коммит произвёл GitHub
родитель 1bcf08aa4b
Коммит da265fbaf7
68 изменённых файлов: 1272 добавлений и 1096 удалений

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

@@ -5,9 +5,10 @@ package human
import (
"fmt"
"github.com/mattermost/mattermost-server/mlog"
"strings"
"time"
"github.com/mattermost/mattermost-server/mlog"
)
type LogEntry struct {

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

@@ -5,9 +5,10 @@ package human
import (
"fmt"
"github.com/sirupsen/logrus"
"io"
"time"
"github.com/sirupsen/logrus"
)
type LogrusWriter struct {

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

@@ -7,11 +7,12 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/mattermost/mattermost-server/mlog"
"io"
"strconv"
"strings"
"time"
"github.com/mattermost/mattermost-server/mlog"
)
func ParseLogMessage(msg string) LogEntry {