Skip to content

Commit

Permalink
Merge pull request #16 from C2FO/v3
Browse files Browse the repository at this point in the history
Initial release of v3 go module
  • Loading branch information
jonstacks authored Apr 5, 2019
2 parents e69f071 + 0d4e622 commit 8580b4b
Show file tree
Hide file tree
Showing 33 changed files with 451 additions and 600 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: go

env:
- GO111MODULE=on

git:
depth: 1

Expand All @@ -9,16 +12,15 @@ notifications:
email: false

go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- tip

before_install:
- go get -u github.com/golang/dep/cmd/dep && dep ensure -v
- go get github.com/mattn/goveralls

script:
- bash ./travis_test.sh
- go test -v -coverprofile=coverage.txt -covermode=atomic ./...

after_success:
- goveralls -v -debug -coverprofile=coverage.txt -service=travis-ci
Expand Down
298 changes: 0 additions & 298 deletions Gopkg.lock

This file was deleted.

42 changes: 0 additions & 42 deletions Gopkg.toml

This file was deleted.

6 changes: 3 additions & 3 deletions backend/all/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package all

import (
_ "github.com/c2fo/vfs/backend/gs" // register gs backend
_ "github.com/c2fo/vfs/backend/os" // register os backend
_ "github.com/c2fo/vfs/backend/s3" // register s3 backend
_ "github.com/c2fo/vfs/v3/backend/gs" // register gs backend
_ "github.com/c2fo/vfs/v3/backend/os" // register os backend
_ "github.com/c2fo/vfs/v3/backend/s3" // register s3 backend
)
2 changes: 1 addition & 1 deletion backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sort"
"sync"

"github.com/c2fo/vfs"
"github.com/c2fo/vfs/v3"
)

var mmu sync.RWMutex
Expand Down
2 changes: 1 addition & 1 deletion backend/backend_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package backend

import (
"github.com/c2fo/vfs/mocks"
"github.com/c2fo/vfs/v3/mocks"
"testing"

"github.com/stretchr/testify/suite"
Expand Down
Loading

0 comments on commit 8580b4b

Please sign in to comment.