Fixing godep

This commit is contained in:
=Corey Hulen
2015-11-23 16:02:16 -08:00
parent 4f4cd5e635
commit 2639452967
105 changed files with 146 additions and 146 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
)
import l4g "github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go"
import l4g "code.google.com/p/log4go"
func main() {
log := l4g.NewLogger()

View File

@@ -8,7 +8,7 @@ import (
"time"
)
import l4g "github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go"
import l4g "code.google.com/p/log4go"
const (
filename = "flw.log"

View File

@@ -4,7 +4,7 @@ import (
"time"
)
import l4g "github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go"
import l4g "code.google.com/p/log4go"
func main() {
log := l4g.NewLogger()

View File

@@ -1,6 +1,6 @@
package main
import l4g "github.com/mattermost/platform/Godeps/_workspace/src/code.google.com/p/log4go"
import l4g "code.google.com/p/log4go"
func main() {
// Load the configuration (isn't this easy?)

View File

@@ -1,6 +1,6 @@
package apns
import "github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/mock"
import "github.com/stretchr/testify/mock"
type MockClient struct {
mock.Mock

View File

@@ -4,7 +4,7 @@ import (
"errors"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
)
func TestMockClientConnectAndWrite(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package manners
import (
helpers "github.com/mattermost/platform/Godeps/_workspace/src/github.com/braintree/manners/test_helpers"
helpers "github.com/braintree/manners/test_helpers"
"net"
"net/http"
"testing"

View File

@@ -1,7 +1,7 @@
package manners
import (
helpers "github.com/mattermost/platform/Godeps/_workspace/src/github.com/braintree/manners/test_helpers"
helpers "github.com/braintree/manners/test_helpers"
"net/http"
"strings"
"testing"

View File

@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/davecgh/go-spew/spew"
)
// custom type to test Stinger interface on non-pointer receiver.

View File

@@ -67,7 +67,7 @@ import (
"testing"
"unsafe"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/davecgh/go-spew/spew"
)
// dumpTest is used to describe a test to be perfomed against the Dump method.

View File

@@ -26,7 +26,7 @@ package spew_test
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew/testdata"
"github.com/davecgh/go-spew/spew/testdata"
)
func addCgoDumpTests() {

View File

@@ -19,7 +19,7 @@ package spew_test
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/davecgh/go-spew/spew"
)
type Flag int

View File

@@ -72,7 +72,7 @@ import (
"testing"
"unsafe"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/davecgh/go-spew/spew"
)
// formatterTest is used to describe a test to be perfomed against NewFormatter.

View File

@@ -23,7 +23,7 @@ import (
"os"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/davecgh/go-spew/spew"
)
// spewFunc is used to identify which public function of the spew package or

View File

@@ -20,8 +20,8 @@ import (
"path/filepath"
"strings"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/bmp"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/tiff"
"golang.org/x/image/bmp"
"golang.org/x/image/tiff"
)
type Format int

View File

@@ -19,7 +19,7 @@ import (
"errors"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
type testConn struct {

View File

@@ -25,7 +25,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
type testConn struct {

View File

@@ -25,7 +25,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/internal"
"github.com/garyburd/redigo/internal"
)
var nowFunc = time.Now // for testing

View File

@@ -22,7 +22,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
type poolTestConn struct {

View File

@@ -20,7 +20,7 @@ import (
"sync"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
func publish(channel, value interface{}) {

View File

@@ -19,7 +19,7 @@ import (
"reflect"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
type valueError struct {

View File

@@ -20,7 +20,7 @@ import (
"reflect"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
var scanConversionTests = []struct {

View File

@@ -20,7 +20,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
func ExampleScript(c redis.Conn, reply interface{}, err error) {

View File

@@ -16,7 +16,7 @@ package redis_test
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/garyburd/redigo/redis"
"github.com/garyburd/redigo/redis"
)
// zpop pops a value from the ZSET key using WATCH/MULTI/EXEC commands.

View File

@@ -28,8 +28,8 @@ import (
"testing"
"time"
_ "github.com/mattermost/platform/Godeps/_workspace/src/github.com/go-sql-driver/mysql"
_ "github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq"
_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
_ "github.com/ziutek/mymysql/godrv"
)

View File

@@ -3,7 +3,7 @@ package aws_test
import (
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
. "gopkg.in/check.v1"
)

View File

@@ -20,7 +20,7 @@ import (
"os"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/vaughan0/go-ini"
"github.com/vaughan0/go-ini"
)
// Defines the valid signers

View File

@@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
. "gopkg.in/check.v1"
)

View File

@@ -2,7 +2,7 @@ package aws_test
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
"io/ioutil"
"net/http"
"net/http/httptest"

View File

@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
. "gopkg.in/check.v1"
)

View File

@@ -1,7 +1,7 @@
package s3
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
)
func Sign(auth aws.Auth, method, path string, params, headers map[string][]string) {

View File

@@ -6,7 +6,7 @@ import (
"io/ioutil"
"strings"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
"github.com/goamz/goamz/s3"
. "gopkg.in/check.v1"
)

View File

@@ -18,7 +18,7 @@ import (
"encoding/base64"
"encoding/xml"
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
"io"
"io/ioutil"
"log"

View File

@@ -7,9 +7,9 @@ import (
"testing"
"time"
"github.com/goamz/goamz/aws"
"github.com/goamz/goamz/s3"
"github.com/goamz/goamz/testutil"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
. "gopkg.in/check.v1"
)

View File

@@ -11,9 +11,9 @@ import (
"strings"
"time"
"github.com/goamz/goamz/aws"
"github.com/goamz/goamz/s3"
"github.com/goamz/goamz/testutil"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
. "gopkg.in/check.v1"
)

View File

@@ -1,9 +1,9 @@
package s3_test
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3/s3test"
"github.com/goamz/goamz/aws"
"github.com/goamz/goamz/s3"
"github.com/goamz/goamz/s3/s3test"
. "gopkg.in/check.v1"
)

View File

@@ -7,7 +7,7 @@ import (
"encoding/hex"
"encoding/xml"
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
"github.com/goamz/goamz/s3"
"io"
"io/ioutil"
"log"

View File

@@ -4,7 +4,7 @@ import (
"crypto/hmac"
"crypto/sha1"
"encoding/base64"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/goamz/goamz/aws"
"log"
"sort"
"strings"

View File

@@ -1,8 +1,8 @@
package s3_test
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/aws"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/goamz/goamz/s3"
"github.com/goamz/goamz/aws"
"github.com/goamz/goamz/s3"
. "gopkg.in/check.v1"
)

View File

@@ -23,9 +23,9 @@ import (
"math"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/truetype"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
var (

View File

@@ -22,8 +22,8 @@ import (
"log"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/golang/freetype"
"golang.org/x/image/font"
)
var (

View File

@@ -19,8 +19,8 @@ import (
"log"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/raster"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
)
func p(x, y int) fixed.Point26_6 {

View File

@@ -20,8 +20,8 @@ import (
"log"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/raster"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
)
type node struct {

View File

@@ -26,8 +26,8 @@ import (
"math"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/raster"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
)
// pDot returns the dot product p·q.

View File

@@ -16,9 +16,9 @@ import (
"io/ioutil"
"log"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/truetype"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
var fontfile = flag.String("fontfile", "../../testdata/luxisr.ttf", "filename of the ttf font")

View File

@@ -13,10 +13,10 @@ import (
"image"
"image/draw"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/raster"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/truetype"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
// These constants determine the size of the glyph cache. The cache is keyed

View File

@@ -9,7 +9,7 @@ import (
"fmt"
"math"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// maxAbs returns the maximum of abs(a) and abs(b).

View File

@@ -18,7 +18,7 @@ package raster
import (
"strconv"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// A cell is part of a linked list (for a given yi co-ordinate) of accumulated

View File

@@ -6,7 +6,7 @@
package raster
import (
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// Two points are considered practically equal if the square of the distance

View File

@@ -8,9 +8,9 @@ package truetype
import (
"image"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/golang/freetype/raster"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"github.com/golang/freetype/raster"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
func powerOf2(i int) bool {

View File

@@ -12,8 +12,8 @@ import (
"strings"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
func BenchmarkDrawString(b *testing.B) {

View File

@@ -6,8 +6,8 @@
package truetype
import (
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
// TODO: implement VerticalHinting.

View File

@@ -12,7 +12,7 @@ import (
"errors"
"math"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
const (

View File

@@ -10,7 +10,7 @@ import (
"strings"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
func TestBytecode(t *testing.T) {

View File

@@ -20,7 +20,7 @@ package truetype
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// An Index is a Font's index of a rune.

View File

@@ -15,8 +15,8 @@ import (
"strings"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
func parseTestdataFont(name string) (f *Font, testdataIsOptional bool, err error) {

View File

@@ -11,7 +11,7 @@ import (
"path"
"regexp"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/context"
"github.com/gorilla/context"
)
// NewRouter returns a new router instance.

View File

@@ -10,7 +10,7 @@ import (
"strings"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/context"
"github.com/gorilla/context"
)
func (r *Route) GoString() string {

View File

@@ -8,7 +8,7 @@ package main
import (
"errors"
"flag"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
"io"
"log"
"net/http"

View File

@@ -5,7 +5,7 @@
package main
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
"log"
"net/http"
"time"

View File

@@ -15,7 +15,7 @@ import (
"text/template"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
)
var (

View File

@@ -12,7 +12,7 @@ import (
"net/url"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
)
var addr = flag.String("addr", "localhost:8080", "http service address")

View File

@@ -12,7 +12,7 @@ import (
"log"
"net/http"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
)
var addr = flag.String("addr", "localhost:8080", "http service address")

View File

@@ -14,7 +14,7 @@ import (
"text/template"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/gorilla/websocket"
"github.com/gorilla/websocket"
)
const (

View File

@@ -17,7 +17,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
"github.com/lib/pq/oid"
)
var (

View File

@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
"github.com/lib/pq/oid"
)
type readBuf []byte

View File

@@ -22,7 +22,7 @@ import (
"time"
"unicode"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
"github.com/lib/pq/oid"
)
// Common error types

View File

@@ -12,7 +12,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
"github.com/lib/pq/oid"
)
func binaryEncode(parameterStatus *parameterStatus, x interface{}) []byte {

View File

@@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
"github.com/lib/pq/oid"
)
func TestScanTimestamp(t *testing.T) {
@@ -468,11 +468,11 @@ func TestBinaryByteSlicetoUUID(t *testing.T) {
db := openTestConn(t)
defer db.Close()
b := []byte{'\xa0', '\xee', '\xbc', '\x99',
'\x9c', '\x0b',
'\x4e', '\xf8',
'\xbb', '\x00', '\x6b',
'\xb9', '\xbd', '\x38', '\x0a', '\x11'}
b := []byte{'\xa0','\xee','\xbc','\x99',
'\x9c', '\x0b',
'\x4e', '\xf8',
'\xbb', '\x00', '\x6b',
'\xb9', '\xbd', '\x38', '\x0a', '\x11'}
row := db.QueryRow("SELECT $1::uuid", b)
var result string

View File

@@ -5,7 +5,7 @@ import (
"os"
"testing"
_ "github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq"
_ "github.com/lib/pq"
)
type Fatalistic interface {

View File

@@ -11,7 +11,7 @@ import (
"os"
"os/exec"
_ "github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq"
_ "github.com/lib/pq"
)
func main() {

View File

@@ -5,7 +5,7 @@ import (
"log"
"os"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/rwcarlsen/goexif/exif"
"github.com/rwcarlsen/goexif/exif"
"github.com/rwcarlsen/goexif/mknote"
)

View File

@@ -16,7 +16,7 @@ import (
"strings"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/rwcarlsen/goexif/tiff"
"github.com/rwcarlsen/goexif/tiff"
)
const (
@@ -574,7 +574,7 @@ func newAppSec(marker byte, r io.Reader) (*appSec, error) {
}
dataLenBytes := make([]byte, 2)
for k, _ := range dataLenBytes {
for k,_ := range dataLenBytes {
c, err := br.ReadByte()
if err != nil {
return nil, err

View File

@@ -12,7 +12,7 @@ import (
"strings"
"testing"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/rwcarlsen/goexif/tiff"
"github.com/rwcarlsen/goexif/tiff"
)
var dataDir = flag.String("test_data_dir", ".", "Directory where the data files for testing are located")

View File

@@ -11,8 +11,8 @@ import (
"path/filepath"
"strings"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/rwcarlsen/goexif/exif"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/rwcarlsen/goexif/tiff"
"github.com/rwcarlsen/goexif/exif"
"github.com/rwcarlsen/goexif/tiff"
)
func main() {

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -2,7 +2,7 @@ package objx
import (
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -1,7 +1,7 @@
package objx
import (
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"testing"
)

View File

@@ -14,8 +14,8 @@ import (
"unicode"
"unicode/utf8"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/davecgh/go-spew/spew"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/pmezard/go-difflib/difflib"
"github.com/davecgh/go-spew/spew"
"github.com/pmezard/go-difflib/difflib"
)
// TestingT is an interface wrapper around *testing.T

View File

@@ -9,8 +9,8 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/objx"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/objx"
"github.com/stretchr/testify/assert"
)
// TestingT is an interface wrapper around *testing.T

View File

@@ -2,7 +2,7 @@ package mock
import (
"errors"
"github.com/mattermost/platform/Godeps/_workspace/src/github.com/stretchr/testify/assert"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
"time"

View File

@@ -12,7 +12,7 @@ import (
"crypto/subtle"
"errors"
"fmt"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/crypto/blowfish"
"golang.org/x/crypto/blowfish"
"io"
"strconv"
)

View File

@@ -10,7 +10,7 @@ package basicfont
import (
"image"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// Range maps a contiguous range of runes to vertically adjacent sub-images of

View File

@@ -18,9 +18,9 @@ import (
"path"
"path/filepath"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font/plan9font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/font/plan9font"
"golang.org/x/image/math/fixed"
)
func main() {

View File

@@ -14,7 +14,7 @@ import (
"image/draw"
"io"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/math/fixed"
)
// TODO: who is responsible for caches (glyph images, glyph indices, kerns)?

View File

@@ -13,9 +13,9 @@ import (
"path"
"path/filepath"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font/plan9font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/font/plan9font"
"golang.org/x/image/math/fixed"
)
func ExampleParseFont() {

View File

@@ -21,8 +21,8 @@ import (
"strconv"
"strings"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/font"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/math/fixed"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
)
// fontchar describes one character glyph in a subfont.

View File

@@ -17,7 +17,7 @@ import (
"io/ioutil"
"math"
"github.com/mattermost/platform/Godeps/_workspace/src/golang.org/x/image/tiff/lzw"
"golang.org/x/image/tiff/lzw"
)
// A FormatError reports that the input is not a valid TIFF image.

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/throttled/throttled.v1"
"gopkg.in/throttled/throttled.v1"
)
var (

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/throttled/throttled.v1"
"gopkg.in/throttled/throttled.v1"
)
var (

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/throttled/throttled.v1"
"gopkg.in/throttled/throttled.v1"
)
var (

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/throttled/throttled.v1"
"gopkg.in/throttled/throttled.v1"
)
var (

View File

@@ -11,7 +11,7 @@ import (
"sync"
"time"
"github.com/mattermost/platform/Godeps/_workspace/src/gopkg.in/throttled/throttled.v1"
"gopkg.in/throttled/throttled.v1"
)
var (

Some files were not shown because too many files have changed in this diff Show More