I want to create a function that automates something like
print_name_and_value :: proc(some_type: $T)
where I can write
print_name_and_value(frame_header_descriptor.Frame_Content_Size_flag)
and it can do the equivalent of
fmt.println("frame_header_descriptor.Frame_Content_Size_flag:",
frame_header_descriptor.Frame_Content_Size_flag,
fmt.tprintf("%8b", frame_header_descriptor.Frame_Content_Size_flag))
Thanks in advance :)
