Skip to content

Commit 286df93

Browse files
committed
update
1 parent 986529f commit 286df93

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: go
22
script: "go build -v"
33
go:
4-
- 1.2
4+
- 1.16
55
- tip

forms_marshal.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package forms
22

33
import (
4-
"encoding/json"
54
"encoding/xml"
5+
6+
"github.com/webx-top/com/encoding/json"
67
)
78

89
func NewForms(f *Form) *Forms {

json.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
package forms
1919

2020
import (
21-
"encoding/json"
2221
"fmt"
2322
"io/ioutil"
2423
"net/url"
2524
"path/filepath"
2625
"reflect"
2726
"strings"
2827

28+
"github.com/webx-top/com/encoding/json"
29+
2930
"github.com/webx-top/tagfast"
3031

3132
comm "github.com/coscms/forms/common"

0 commit comments

Comments
 (0)