pub fn gen_go_functional_options(
typ: &TypeDef,
type_mapper: &dyn Fn(&TypeRef) -> String,
) -> StringExpand description
Generate Go functional options pattern for a type with has_default.
Returns: type definition + Option type + WithField functions + NewConfig constructor