// Save will create the file if it does not already exist, if the file
// does exist it will be updated.
Save will create the file if it does not already exist, if the file
does exist it will be updated.
// Save will create the file if it does not already exist if the file // does exist it will be updated .
func (fs *FileStore) Save(name string, gobj interface{}) (err error) {
	if fs.Exists(name) {
		err = fs.Update(name, gobj)
	} else {
		err = fs.Create(name, gobj)
	}
	return err
}
func ( fs * FileStore ) Save ( name string , gobj interface { } ) ( err error ) { if fs . Exists ( name ) { err = fs . Update ( name , gobj ) } else { err = fs . Create ( name , gobj ) } return err }
Save will create the file if it does not already exist, if the file
does exist it will be updated.
Save will create the file if it does not already exist if the file does exist it will be updated .