mirror of
https://github.com/schollz/croc.git
synced 2024-11-23 15:44:16 +03:00
update version
This commit is contained in:
parent
8148e191ae
commit
0a0f7a03d7
12
.travis.yml
12
.travis.yml
@ -10,12 +10,12 @@ install: true
|
||||
|
||||
script:
|
||||
- env GO111MODULE=on go build -v
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/compress
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/croc
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/crypt
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/tcp
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/utils
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v8/src/comm
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/compress
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/croc
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/crypt
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/tcp
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/utils
|
||||
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v9/src/comm
|
||||
|
||||
branches:
|
||||
except:
|
||||
|
@ -104,7 +104,7 @@ pkg install croc
|
||||
Or, you can [install Go](https://golang.org/dl/) and build from source (requires Go 1.12+):
|
||||
|
||||
```
|
||||
GO111MODULE=on go get -v github.com/schollz/croc/v8
|
||||
GO111MODULE=on go get -v github.com/schollz/croc/v9
|
||||
```
|
||||
|
||||
|
||||
|
2
main.go
2
main.go
@ -7,7 +7,7 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/schollz/croc/v8/src/cli"
|
||||
"github.com/schollz/croc/v9/src/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -14,11 +14,11 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/schollz/cli/v2"
|
||||
"github.com/schollz/croc/v8/src/comm"
|
||||
"github.com/schollz/croc/v8/src/croc"
|
||||
"github.com/schollz/croc/v8/src/models"
|
||||
"github.com/schollz/croc/v8/src/tcp"
|
||||
"github.com/schollz/croc/v8/src/utils"
|
||||
"github.com/schollz/croc/v9/src/comm"
|
||||
"github.com/schollz/croc/v9/src/croc"
|
||||
"github.com/schollz/croc/v9/src/models"
|
||||
"github.com/schollz/croc/v9/src/tcp"
|
||||
"github.com/schollz/croc/v9/src/utils"
|
||||
log "github.com/schollz/logger"
|
||||
"github.com/schollz/pake/v3"
|
||||
)
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/schollz/croc/v8/src/utils"
|
||||
"github.com/schollz/croc/v9/src/utils"
|
||||
log "github.com/schollz/logger"
|
||||
"golang.org/x/net/proxy"
|
||||
)
|
||||
|
@ -24,13 +24,13 @@ import (
|
||||
"github.com/schollz/peerdiscovery"
|
||||
"github.com/schollz/progressbar/v3"
|
||||
|
||||
"github.com/schollz/croc/v8/src/comm"
|
||||
"github.com/schollz/croc/v8/src/compress"
|
||||
"github.com/schollz/croc/v8/src/crypt"
|
||||
"github.com/schollz/croc/v8/src/message"
|
||||
"github.com/schollz/croc/v8/src/models"
|
||||
"github.com/schollz/croc/v8/src/tcp"
|
||||
"github.com/schollz/croc/v8/src/utils"
|
||||
"github.com/schollz/croc/v9/src/comm"
|
||||
"github.com/schollz/croc/v9/src/compress"
|
||||
"github.com/schollz/croc/v9/src/crypt"
|
||||
"github.com/schollz/croc/v9/src/message"
|
||||
"github.com/schollz/croc/v9/src/models"
|
||||
"github.com/schollz/croc/v9/src/tcp"
|
||||
"github.com/schollz/croc/v9/src/utils"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/schollz/croc/v8/src/tcp"
|
||||
"github.com/schollz/croc/v9/src/tcp"
|
||||
log "github.com/schollz/logger"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
@ -3,9 +3,9 @@ package message
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/schollz/croc/v8/src/comm"
|
||||
"github.com/schollz/croc/v8/src/compress"
|
||||
"github.com/schollz/croc/v8/src/crypt"
|
||||
"github.com/schollz/croc/v9/src/comm"
|
||||
"github.com/schollz/croc/v9/src/compress"
|
||||
"github.com/schollz/croc/v9/src/crypt"
|
||||
log "github.com/schollz/logger"
|
||||
)
|
||||
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/schollz/croc/v8/src/comm"
|
||||
"github.com/schollz/croc/v8/src/crypt"
|
||||
"github.com/schollz/croc/v9/src/comm"
|
||||
"github.com/schollz/croc/v9/src/crypt"
|
||||
log "github.com/schollz/logger"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
@ -11,9 +11,9 @@ import (
|
||||
log "github.com/schollz/logger"
|
||||
"github.com/schollz/pake/v3"
|
||||
|
||||
"github.com/schollz/croc/v8/src/comm"
|
||||
"github.com/schollz/croc/v8/src/crypt"
|
||||
"github.com/schollz/croc/v8/src/models"
|
||||
"github.com/schollz/croc/v9/src/comm"
|
||||
"github.com/schollz/croc/v9/src/crypt"
|
||||
"github.com/schollz/croc/v9/src/models"
|
||||
)
|
||||
|
||||
type server struct {
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/schollz/croc/v8/src/models"
|
||||
"github.com/schollz/croc/v9/src/models"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user