code: func (g *GraphQuery) Normalize() error {
  	if err := g.AttemptList.Normalize(); err != nil {
  		return err
  	}
  	if len(g.AttemptRange) > 0 {
  		lme := errors.NewLazyMultiError(len(g.AttemptRange))
  		for i, rng := range g.AttemptRange {
  			lme.Assign(i, rng.Normalize())
  		}
  		if err := lme.Get(); err != nil {
  			return err
  		}
  	}
  	if len(g.Search) > 0 {
  		lme := errors.NewLazyMultiError(len(g.Search))
  		for i, s := range g.Search {
  			lme.Assign(i, s.Normalize())
  		}
  		if err := lme.Get(); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // Normalize returns an error iff this GraphQuery is not valid.