openconfig / ygot

A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
Apache License 2.0
286 stars 107 forks source link

When will ygot have support for bits datatype for yang to go conversion #951

Open ruchakulkarni11 opened 9 months ago

ruchakulkarni11 commented 9 months ago

We use Ygot to convert our yang modules to go struct and would like to know will there be a support for a bits datatype anytime soon.

wenovus commented 9 months ago

Hi, we have started design doc, and mostly settled on a code representation, but haven't had the opportunity to implement it.

If you do require it for your project, I can help you with code contributions to make it happen.

ruchakulkarni11 commented 9 months ago

Hello @wenovus, I went through the design document. I would appreciate more inputs on the code representation and implementation. I did not get a chance to go through the code yet but do we have any estimation to implement this?