Closed jstrachan closed 1 year ago
you can add a configuration in the yaml file for the expression to use:
TRANSLATOR: LenFields: MyStruct.some_data: some_size
which will then generate the go code to set the Len of the slice in the Deref() function
Len
Deref()
Awesome idea, thanks!
you can add a configuration in the yaml file for the expression to use:
which will then generate the go code to set the
Len
of the slice in theDeref()
function