code: func findFieldOfType(reply reflect.Type, fieldName string) (reflect.StructField, bool) {
  	for reply.Kind() == reflect.Ptr {
  		reply = reply.Elem()
  	}
  	if reply.Kind() == reflect.Struct {
  		field, found := reply.FieldByName(fieldName)
  		return field, found
  	}
  	return reflect.StructField{}, false
  }
docs: // findFieldOfType finds the field specified by its name in provided message defined as reflect.Type data type.