From 956e95b5bdbe87103f2fbc06c33319b0d79e8499 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 08:29:51 +0000 Subject: [PATCH 1/2] Bump github.com/moov-io/iso8583 from 0.12.1 to 0.13.0 Bumps [github.com/moov-io/iso8583](https://github.com/moov-io/iso8583) from 0.12.1 to 0.13.0. - [Release notes](https://github.com/moov-io/iso8583/releases) - [Changelog](https://github.com/moov-io/iso8583/blob/master/CHANGELOG.md) - [Commits](https://github.com/moov-io/iso8583/compare/v0.12.1...v0.13.0) --- updated-dependencies: - dependency-name: github.com/moov-io/iso8583 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b031408..2823c68 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module go.unistack.org/micro-codec-iso8583/v3 go 1.16 require ( - github.com/moov-io/iso8583 v0.12.1 + github.com/moov-io/iso8583 v0.13.0 go.unistack.org/micro/v3 v3.9.11 ) diff --git a/go.sum b/go.sum index 1e656ac..27f935c 100644 --- a/go.sum +++ b/go.sum @@ -62,8 +62,8 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mediocregopher/radix.v2 v0.0.0-20181115013041-b67df6e626f9/go.mod h1:fLRUbhbSd5Px2yKUaGYYPltlyxi1guJz1vCmo1RQL50= -github.com/moov-io/iso8583 v0.12.1 h1:QZ7GYV4VY7lmCtcaXHlxbkvu7jj1A85QnzMbDPzIpuU= -github.com/moov-io/iso8583 v0.12.1/go.mod h1:Ul1q5ztEUGpFCw3I+bp1HRHBKymgfBTBiKa0JhdeaAM= +github.com/moov-io/iso8583 v0.13.0 h1:uzvpSQh4YAePHIwKSYOC5NmGJEJDLB/GE9bq4Te/CYA= +github.com/moov-io/iso8583 v0.13.0/go.mod h1:Ul1q5ztEUGpFCw3I+bp1HRHBKymgfBTBiKa0JhdeaAM= github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= From be1fb9c436bd547e1ad05aee4e61a40a1f6bc08d Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 4 Oct 2022 13:19:00 +0300 Subject: [PATCH 2/2] fixup test Signed-off-by: Vasiliy Tolstov --- codec_test.go | 4 ++-- go.mod | 2 ++ go.sum | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/codec_test.go b/codec_test.go index 02edb1a..2a2c5e4 100644 --- a/codec_test.go +++ b/codec_test.go @@ -30,8 +30,8 @@ func TestSpec(t *testing.T) { if err := NewCodec().Unmarshal(buf, data, MessageSpec(newSpec())); err != nil { t.Fatal(err) } - if data.F7.Value != 311204852 { - t.Fatalf("invalid data %#+v", data.F7.Value) + if data.F7.Value() != 311204852 { + t.Fatalf("invalid data %#+v", data.F7.Value()) } } diff --git a/go.mod b/go.mod index 2823c68..51813aa 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,8 @@ module go.unistack.org/micro-codec-iso8583/v3 go 1.16 require ( + github.com/google/gnostic v0.6.9 // indirect github.com/moov-io/iso8583 v0.13.0 go.unistack.org/micro/v3 v3.9.11 + google.golang.org/protobuf v1.28.1 // indirect ) diff --git a/go.sum b/go.sum index 27f935c..6ee3e14 100644 --- a/go.sum +++ b/go.sum @@ -42,6 +42,8 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/google/gnostic v0.6.6/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= github.com/google/gnostic v0.6.8 h1:bT56GPYBWh1tvBuBEd94qcS3+60b+y0HQur0ITkGuCk= github.com/google/gnostic v0.6.8/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= +github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= +github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -162,6 +164,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=