File tree Expand file tree Collapse file tree 7 files changed +22
-23
lines changed Expand file tree Collapse file tree 7 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 11language : go
22go :
3- - 1.12.5
3+ - 1.13.3
44 - tip
55matrix :
66 allow_failures :
@@ -13,17 +13,14 @@ notifications:
1313 on_failure : always
1414
1515before_install :
16- - go get -u github.com/go-playground/overalls
17- - go get -u github.com/mattn/goveralls
18- - go get -u golang.org/x/tools/cmd/cover
16+ - go install github.com/mattn/goveralls
1917
20- before_script :
21- - go get -t ./...
18+ # Only clone the most recent commit.
19+ git :
20+ depth : 1
2221
2322script :
24- - make test
23+ - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...
2524
2625after_success : |
27- [ $TRAVIS_GO_VERSION = 1.12.5 ] &&
28- overalls -project="github.com/go-playground/pkg" -covermode=count -ignore=.git,_examples,testdata -debug &&
29- goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
26+ goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
Original file line number Diff line number Diff line change 11# pkg
2- ![ Project status] ( https://img.shields.io/badge/version-3.1.5 -green.svg )
2+ ![ Project status] ( https://img.shields.io/badge/version-4.0.0 -green.svg )
33[ ![ Build Status] ( https://travis-ci.org/go-playground/pkg.svg?branch=master )] ( https://travis-ci.org/go-playground/pkg )
44[ ![ Coverage Status] ( https://coveralls.io/repos/github/go-playground/pkg/badge.svg?branch=master )] ( https://coveralls.io/github/go-playground/pkg?branch=master )
55[ ![ GoDoc] ( https://godoc.org/github.com/go-playground/pkg?status.svg )] ( https://godoc.org/github.com/go-playground/pkg )
Original file line number Diff line number Diff line change 1- module github.com/go-playground/pkg
2-
3- go 1.11
1+ module github.com/go-playground/pkg/v4
42
53require (
6- github.com/go-playground/form v3.1.4+incompatible
7- gopkg.in /go-playground/assert.v1 v1.2.1
4+ github.com/go-playground/assert/v2 v2.0.1
5+ github.com /go-playground/form/v4 v4.0.0
86)
7+
8+ go 1.13
Original file line number Diff line number Diff line change 1- github.com/go-playground/form v3.1.4+incompatible h1:lvKiHVxE2WvzDIoyMnWcjyiBxKt2+uFJyZcPYWsLnjI =
2- github.com/go-playground/form v3.1.4+incompatible /go.mod h1:lhcKXfTuhRtIZCIKUeJ0b5F207aeQCPbZU09ScKjwWg =
3- gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM =
4- gopkg.in/go-playground/assert.v1 v1.2.1 /go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE =
1+ github.com/go-playground/assert v1.2.1 h1:ad06XqC+TOv0nJWnbULSlh3ehp5uLuQEojZY5Tq8RgI =
2+ github.com/go-playground/assert v1.2.1 /go.mod h1:Lgy+k19nOB/wQG/fVSQ7rra5qYugmytMQqvQ2dgjWn8 =
3+ github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A =
4+ github.com/go-playground/assert/v2 v2.0.1 /go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4 =
5+ github.com/go-playground/form/v4 v4.0.0 h1:vUKi2K1Hqlc4rpBc0tCclgs9zSfbY5yMKsL106db/eY =
6+ github.com/go-playground/form/v4 v4.0.0 /go.mod h1:bodWfd97U9PVMZFcDsbVzSbQQTtaWrebnTwQtWjSW1M =
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package httpext
33import (
44 "net/url"
55
6- "github.com/go-playground/form"
6+ "github.com/go-playground/form/v4 "
77)
88
99// FormDecoder is the type used for decoding a form for use
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "path/filepath"
1212 "strings"
1313
14- ioext "github.com/go-playground/pkg/io"
14+ ioext "github.com/go-playground/pkg/v4/ io"
1515)
1616
1717// QueryParamsOption represents the options for including query parameters during Decode helper functions
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313 "strings"
1414 "testing"
1515
16- . "gopkg.in /go-playground/assert.v1 "
16+ . "github.com /go-playground/assert/v2 "
1717)
1818
1919func TestAcceptedLanguages (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments