freeconf / restconf

Implementation of RESTCONF Management protocol - IETF RFC8040
Apache License 2.0
29 stars 9 forks source link

Unable to go get restconf #23

Closed rFronteddu closed 1 year ago

rFronteddu commented 1 year ago

I am using go version go1.17.6 windows/amd64

When I try to go get freeconf/restconf I get the following error:

go get  github.com/freeconf/restconf
# github.com/freeconf/yang/val
..\..\..\..\go\pkg\mod\github.com\freeconf\yang@v0.0.0-20230214145404-f08be4c7a370\val\conv.go:596:36: rv.CanInt undefined (type reflect.Value has no field or method CanInt)
..\..\..\..\go\pkg\mod\github.com\freeconf\yang@v0.0.0-20230214145404-f08be4c7a370\val\conv.go:689:36: rv.CanUint undefined (type reflect.Value has no field or method CanUint)
rFronteddu commented 1 year ago

Upgrading to go 1.20 fixed the issue. At your convenience. Please upgrade the readme to list the correct minimum version of golang required.

dhubler commented 1 year ago

done, thanks for the feedback

On Mon, Mar 13, 2023 at 5:35 PM Roberto Fronteddu @.***> wrote:

Closed #23 https://github.com/freeconf/restconf/issues/23 as completed.

— Reply to this email directly, view it on GitHub https://github.com/freeconf/restconf/issues/23#event-8736718015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACA7V534YBSEDKUKKAUUDW36HJ3ANCNFSM6AAAAAAVZTZ66I . You are receiving this because you are subscribed to this thread.Message ID: @.***>