Skip to content

Commit

Permalink
do not use v1
Browse files Browse the repository at this point in the history
  • Loading branch information
kumakichi committed Oct 25, 2018
1 parent 9914f38 commit 0bfe170
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions filetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package filetype
import (
"errors"

"gopkg.in/h2non/filetype.v1/matchers"
"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/matchers"
"github.com/h2non/filetype/types"
)

// Types stores a map of supported types
Expand Down
2 changes: 1 addition & 1 deletion filetype_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package filetype
import (
"testing"

"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/types"
)

func TestIs(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions kind.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package filetype

import (
"gopkg.in/h2non/filetype.v1/matchers"
"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/matchers"
"github.com/h2non/filetype/types"
)

// Image tries to match a file as image type
Expand Down
4 changes: 2 additions & 2 deletions match.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"io"
"os"

"gopkg.in/h2non/filetype.v1/matchers"
"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/matchers"
"github.com/h2non/filetype/types"
)

// Matchers is an alias to matchers.Matchers
Expand Down
4 changes: 2 additions & 2 deletions match_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"io/ioutil"
"testing"

"gopkg.in/h2non/filetype.v1/matchers"
"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/matchers"
"github.com/h2non/filetype/types"
)

func TestMatch(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion matchers/matchers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package matchers

import (
"gopkg.in/h2non/filetype.v1/types"
"github.com/h2non/filetype/types"
)

// Internal shortcut to NewType
Expand Down

0 comments on commit 0bfe170

Please sign in to comment.