code: func convertMultiWireConfigs(ctx context.Context, path string, wireConfigs *configApi.LuciConfigGetConfigMultiResponseMessage, metaOnly bool) ([]config.Config, error) {
  	configs := make([]config.Config, len(wireConfigs.Configs))
  	for i, c := range wireConfigs.Configs {
  		var decoded []byte
  		var err error
  
  		if !metaOnly {
  			decoded, err = base64.StdEncoding.DecodeString(c.Content)
  			if err != nil {
  				lc := logging.SetField(ctx, "configSet", c.ConfigSet)
  				logging.Warningf(lc, "Failed to base64 decode config: %s", err)
  			}
  		}
  
  		configs[i] = config.Config{
  			Meta: config.Meta{
  				ConfigSet:   config.Set(c.ConfigSet),
  				Path:        path,
  				ContentHash: c.ContentHash,
  				Revision:    c.Revision,
  				ViewURL:     c.Url,
  			},
  			Content: string(decoded),
  			Error:   err,
  		}
  	}
  
  	return configs, nil
  }
docs: // convertMultiWireConfigs is a utility to convert what we get over the wire
  // into the structs we use in the config package.