message: Fix "'flatbuffers::FieldDef* field' shadows a parameter"
diff: @@ -501,7 +501,9 @@ class GoGenerator : public BaseGenerator {
  auto &vector_struct_fields = vectortype.struct_def->fields.vec;
  auto kit =
  std::find_if(vector_struct_fields.begin(), vector_struct_fields.end(),
  - [&](FieldDef *field) { return field->key; });
  + [&](FieldDef *vector_struct_field) {
  + return vector_struct_field->key;
  + });
  auto &key_field = **kit;
  FLATBUFFERS_ASSERT(key_field.key);
  