code: func SaveGopmfile(gf *goconfig.ConfigFile, fileName string) error {
  	if err := goconfig.SaveConfigFile(gf, fileName); err != nil {
  		return fmt.Errorf("Fail to save gopmfile: %v", err)
  	}
  	return nil
  }
docs: // SaveGopmfile saves gopmfile to given path.