Nathan Stitt and GitHub
2fdbb629be
Add "struct_references" configuration ( #155 )
...
Adds a "struct_references" configuration that will:
* Use a pointer type for struct fields that are a complex type
* The behaviour can be overridden by setting "pointer: false" in the
proceeding comment blocks
* Sets the "omitempty: true" flag on fields matching the criteria.
This can also be overriden by setting "omitempty: false"
Although we'd debated not setting the pointer for array elements, it did turn out to be simpler to set them everywhere and also made the documentation cleaner to have a single rule to explain.
Fixes #149 .
2021-11-12 19:53:19 -08:00
..
2021-10-01 15:02:07 -07:00
2021-08-27 18:06:30 -07:00
2021-10-01 15:02:07 -07:00
2021-09-09 09:48:18 -07:00
2021-10-01 15:02:07 -07:00
2021-09-24 11:16:01 -07:00
2021-10-01 15:02:07 -07:00
2021-09-24 11:16:01 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-09-29 17:52:06 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-08-25 11:57:24 -07:00
2021-10-01 15:02:07 -07:00
2021-08-25 11:57:24 -07:00
2021-10-01 15:02:07 -07:00
2021-08-25 11:59:45 -07:00
2021-10-01 15:02:07 -07:00
2021-08-25 11:59:45 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-09-24 11:16:46 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-08-27 15:57:10 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-09-15 18:06:43 -07:00
2021-10-01 15:02:07 -07:00
2021-08-27 18:06:30 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-09-09 09:39:30 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-09-15 18:00:22 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-05 08:49:50 -07:00
2021-09-15 18:06:43 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-10-01 15:02:07 -07:00
2021-06-03 12:08:56 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-09-24 11:16:46 -07:00
2021-09-24 11:16:46 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-09-15 18:06:43 -07:00
2021-09-15 18:06:43 -07:00
2021-09-29 17:52:06 -07:00
2021-09-29 17:52:06 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-10-05 12:52:48 -07:00
2021-10-05 12:52:48 -07:00
2021-09-28 14:56:49 -07:00
2021-09-28 14:56:49 -07:00
2021-09-15 18:00:22 -07:00
2021-09-15 18:00:22 -07:00
2021-09-14 10:30:33 -07:00
2021-09-14 10:30:33 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-09-07 09:58:49 -07:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00
2021-11-12 19:53:19 -08:00
2021-10-01 15:02:07 -07:00
2021-10-01 15:02:07 -07:00