code: func (c *Config) CheckAndSetDefaults() error {
  	if c.FileSystem == nil {
  		c.FileSystem = &localFileSystem{}
  	}
  
  	if c.User == "" {
  		return trace.BadParameter("missing User parameter")
  	}
  
  	return nil
  }
docs: // CheckAndSetDefaults checks and sets default values