code: func getMap(schema proto.Schema) (*proto.Map, error) {
  	if schema == nil {
  		return nil, nil
  	}
  	visitor := &mapSchemaVisitor{}
  	schema.Accept(visitor)
  	return visitor.Result, visitor.Err
  }
docs: // getMap converts schema to an *proto.Map object