Skip to content

Commit 4569437

Browse files
author
Dean Karn
authored
update assert + form versions (#3)
1 parent 792a755 commit 4569437

File tree

7 files changed

+22
-23
lines changed

7 files changed

+22
-23
lines changed

.travis.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- 1.12.5
3+
- 1.13.3
44
- tip
55
matrix:
66
allow_failures:
@@ -13,17 +13,14 @@ notifications:
1313
on_failure: always
1414

1515
before_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

2322
script:
24-
- make test
23+
- go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...
2524

2625
after_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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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)

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
module github.com/go-playground/pkg
2-
3-
go 1.11
1+
module github.com/go-playground/pkg/v4
42

53
require (
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

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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=

net/http/form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package httpext
33
import (
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

net/http/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

net/http/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1919
func TestAcceptedLanguages(t *testing.T) {

0 commit comments

Comments
 (0)