code: func (cfgs *Configs) Validate(c *validation.Context) {
  	prjs := stringset.New(len(cfgs.GetProject()))
  	for i, cfg := range cfgs.GetProject() {
  		c.Enter("project %d", i)
  		cfg.Validate(c)
  		if !prjs.Add(cfg.Project) {
  			c.Errorf("project %q is not unique", cfg.Project)
  		}
  		c.Exit()
  	}
  }
docs: // Validate validates these configs.