Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UOWWithFs ¶
func UOWWithFs(suow uow.StartUnitOfWork) uow.StartUnitOfWork
UOWWithFs creates a Unit of Work for the fs.Fs that will wrap a uow.StartUnitOfWork repositories that fulfil the fs.Fs with a tracker. In order to 'rollback' and 'commit' all the actions done. For now it only supports 'Create', 'Remove' and 'Rename' actions to Rollback. TODO: Eventually add support for the uow.Type, if it's uow.Read only allow read operations and if it's uow.Write allow all operations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.