mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Update util and dugong
This commit is contained in:
parent
166ac9d092
commit
1d3157b49a
4
vendor/manifest
vendored
4
vendor/manifest
vendored
|
|
@ -86,7 +86,7 @@
|
||||||
{
|
{
|
||||||
"importpath": "github.com/matrix-org/dugong",
|
"importpath": "github.com/matrix-org/dugong",
|
||||||
"repository": "https://github.com/matrix-org/dugong",
|
"repository": "https://github.com/matrix-org/dugong",
|
||||||
"revision": "193b8f88e381d12f2d53023fba25e43fc81dc5ac",
|
"revision": "f04553160a2b197248e032f4fe23d57b9af20cde",
|
||||||
"branch": "master"
|
"branch": "master"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -110,7 +110,7 @@
|
||||||
{
|
{
|
||||||
"importpath": "github.com/matrix-org/util",
|
"importpath": "github.com/matrix-org/util",
|
||||||
"repository": "https://github.com/matrix-org/util",
|
"repository": "https://github.com/matrix-org/util",
|
||||||
"revision": "53326ed5598b226681112cbd441f59f3cffc9c82",
|
"revision": "466baca1646be2ce6bcf3b1573296015650d9ed2",
|
||||||
"branch": "master"
|
"branch": "master"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ Logging utilities for [logrus](https://github.com/Sirupsen/logrus).
|
||||||
|
|
||||||
To develop on this library, you need logrus on your GOPATH:
|
To develop on this library, you need logrus on your GOPATH:
|
||||||
|
|
||||||
``go get github.com/Sirupsen/logrus``
|
``go get github.com/sirupsen/logrus``
|
||||||
|
|
||||||
You can then run its tests by running
|
You can then run its tests by running
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package dugong
|
||||||
import (
|
import (
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
"fmt"
|
"fmt"
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package dugong
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package util
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
// contextKeys is a type alias for string to namespace Context keys per-package.
|
// contextKeys is a type alias for string to namespace Context keys per-package.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
// JSONResponse represents an HTTP response which contains a JSON body.
|
// JSONResponse represents an HTTP response which contains a JSON body.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MockJSONRequestHandler struct {
|
type MockJSONRequestHandler struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue