Update util and dugong

This commit is contained in:
Brendan Abolivier 2017-08-22 17:15:35 +01:00
parent 166ac9d092
commit 1d3157b49a
No known key found for this signature in database
GPG key ID: 8EF1500759F70623
7 changed files with 9 additions and 9 deletions

4
vendor/manifest vendored
View file

@ -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"
}, },
{ {

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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.

View file

@ -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.

View file

@ -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 {