freeconf / yang

Standards-based management for Golang microservices
Apache License 2.0
38 stars 14 forks source link

Error while building yang/nodeutil #35

Closed sebastien-guay closed 1 year ago

sebastien-guay commented 1 year ago

I just get the latest restconf and freeconf and I get an error while building yang/nodeutil.

/go/pkg/mod/github.com/freeconf/yang@v0.0.0-20230323210924-595b54912d2c/nodeutil/reflect.go:470:14: childVal.SetZero undefined (type reflect.Value has no field or method SetZero)

dhubler commented 1 year ago

Apparently it is a new call for Go1.20. I should probably find an alternative. Can you update in the meantime?

On Fri, Mar 24, 2023 at 9:27 AM sguay @.***> wrote:

I just get the latest restconf and freeconf and I get an error while building yang/nodeutil.

@.***/nodeutil/reflect.go:470:14: childVal.SetZero undefined (type reflect.Value has no field or method SetZero)

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

sebastien-guay commented 1 year ago

Apparently it is a new call for Go1.20. I should probably find an alternative. Can you update in the meantime? On Fri, Mar 24, 2023 at 9:27 AM sguay @.> wrote: I just get the latest restconf and freeconf and I get an error while building yang/nodeutil. @./nodeutil/reflect.go:470:14: childVal.SetZero undefined (type reflect.Value has no field or method SetZero) — Reply to this email directly, view it on GitHub <#35>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACA7QBUOG5JOKFC3TIEGLW5WOMFANCNFSM6AAAAAAWGSCIWM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

No problem I will update go. Thanks!

dhubler commented 1 year ago

making 1.20 default