freeconf / restconf

Implementation of RESTCONF Management protocol - IETF RFC8040

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to go get restconf

rFronteddu opened this issue · comments

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)

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