I have a struct like so:
typedef struct st_MASK_SETTINGS
{
uint32_t foo : 1;
uint32_t bar : 7;
} MASK_SETTINGS
Now through cgo I would like to access foo - but cannot find any documentation how to do so.
Naive v := ms.foo complains has no field or method.