set-gen command
set-gen is an example usage of go2idl.
Structs in the input directories with the below line in their comments will have sets generated for them. // +genset
Any builtin type referenced anywhere in the input directories will have a set generated for it.
Directories ΒΆ
Path | Synopsis |
---|---|
examples/set-gen/generators | Package generators has the generators for the set-gen utility. |
examples/set-gen/sets | Package sets has auto-generated set types. |
examples/set-gen/sets/types | Package types just provides input types to the set generator. |
- Version
- v0.0.0-20250704022524-ddb642e17a28 (latest)
- Published
- Jul 4, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.