code: func ParseConfig(bs []byte, services []string) (*Config, error) {
  
  	if bs == nil {
  		return nil, nil
  	}
  
  	var result Config
  
  	if err := util.Unmarshal(bs, &result); err != nil {
  		return nil, err
  	}
  
  	return &result, result.validateAndInjectDefaults(services)
  }
docs: // ParseConfig returns a valid Config object with defaults injected.