code: func (t *TOMLLoader) Load(s interface{}) error {
  	var r io.Reader
  
  	if t.Reader != nil {
  		r = t.Reader
  	} else if t.Path != "" {
  		file, err := getConfig(t.Path)
  		if err != nil {
  			return err
  		}
  		defer file.Close()
  		r = file
  	} else {
  		return ErrSourceNotSet
  	}
  
  	if _, err := toml.DecodeReader(r, s); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // Load loads the source into the config defined by struct s
  // Defaults to using the Reader if provided, otherwise tries to read from the
  // file