code: func WriteShareSteplibToFile(share ShareModel) error {
  	var bytes []byte
  	bytes, err := json.MarshalIndent(share, "", "\t")
  	if err != nil {
  		log.Errorf("Failed to parse json, error: %s", err)
  		return err
  	}
  
  	return fileutil.WriteBytesToFile(getShareFilePath(), bytes)
  }
docs: // WriteShareSteplibToFile ...