COVESA / vss-tools

Software for working with VSS (https://github.com/COVESA/vehicle_signal_specification)
Mozilla Public License 2.0
55 stars 55 forks source link

✨ New exporter: go #405

Closed sschleemilch closed 1 week ago

sschleemilch commented 1 month ago

Added new generator: go

It does produce structs to work with the vss tree.

It only produces simple structs for now. In future, we can also generate get/set methods and use the allowed as well as min/max fields.

erikbosch commented 1 month ago

Could you possibly add a README in https://github.com/COVESA/vss-tools/tree/master/docs that gives a bit on background and how the tool can be used or is intended to be used. Like linking to https://go.dev/ as possible not every one is familiar with Go.

We use Go in https://github.com/COVESA/vissr and I am curious if what we have here could be a replacement to the "binary" format currently used by that tool. ideas @UlfBj ?

sschleemilch commented 1 month ago

Could you possibly add a README in https://github.com/COVESA/vss-tools/tree/master/docs that gives a bit on background and how the tool can be used or is intended to be used. Like linking to https://go.dev/ as possible not every one is familiar with Go.

We use Go in https://github.com/COVESA/vissr and I am curious if what we have here could be a replacement to the "binary" format currently used by that tool. ideas @UlfBj ?

Done. Added README: https://github.com/sschleemilch/vss-tools/blob/feature/go-exporter/docs/go.md

sschleemilch commented 4 weeks ago

Lets not merge it yet. I would like to make some improvements.

erikbosch commented 4 weeks ago

MoM:

UlfBj commented 3 weeks ago

It looks good to me.

erikbosch commented 2 weeks ago

MoM: Ok to merge