Skip to content

Commit

Permalink
Update dependencies (absmach#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Dušan Borovčanin <[email protected]>
  • Loading branch information
dborovcanin authored Mar 9, 2020
1 parent 42d126c commit 3255d0d
Show file tree
Hide file tree
Showing 37 changed files with 5,895 additions and 2,728 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/mainflux/senml
go 1.13

require (
github.com/fxamacker/cbor v1.3.3
github.com/stretchr/testify v1.4.0
github.com/fxamacker/cbor/v2 v2.2.0
github.com/stretchr/testify v1.5.1
)
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fxamacker/cbor v1.3.2 h1:jMCvPyzpTVWoe1jRDUFPupVoV+DzDvnc1VP+9VU4ql8=
github.com/fxamacker/cbor v1.3.2/go.mod h1:Uy2lR31/2WfmW0yiA4i3t+we5kF3B/wzKsttcux+i/g=
github.com/fxamacker/cbor v1.3.3 h1:5JkI31miDRQ9rHf8gHIBSLeTdteicTq88BjKb8zl6jo=
github.com/fxamacker/cbor v1.3.3/go.mod h1:Uy2lR31/2WfmW0yiA4i3t+we5kF3B/wzKsttcux+i/g=
github.com/fxamacker/cbor/v2 v2.2.0 h1:6eXqdDDe588rSYAi1HfZKbx6YYQO4mxQ9eC6xYpU/JQ=
github.com/fxamacker/cbor/v2 v2.2.0/go.mod h1:TA1xS00nchWmaBnEIxPSE5oHLuJBAVvqrtAnWBwBCVo=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
Expand Down
4 changes: 2 additions & 2 deletions senml.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"sort"

"github.com/fxamacker/cbor"
"github.com/fxamacker/cbor/v2"
)

const (
Expand Down Expand Up @@ -119,7 +119,7 @@ func Encode(p Pack, format Format) ([]byte, error) {
p.Xmlns = xmlns
return xml.Marshal(p)
case CBOR:
return cbor.Marshal(p.Records, cbor.EncOptions{})
return cbor.Marshal(p.Records)
default:
return nil, ErrUnsupportedFormat
}
Expand Down
402 changes: 0 additions & 402 deletions vendor/github.com/fxamacker/cbor/README.md

This file was deleted.

173 changes: 0 additions & 173 deletions vendor/github.com/fxamacker/cbor/cache.go

This file was deleted.

Loading

0 comments on commit 3255d0d

Please sign in to comment.