Versions in this module Expand all Collapse all v0 v0.0.3 Jul 30, 2021 v0.0.2 Jul 16, 2021 v0.0.1 Jul 7, 2021 Changes in this version + var ErrBackupNotExists = errors.New("backup not exists") + type Backup interface + Backup func(ctx context.Context, name string, sourceFile string) error + Restore func(ctx context.Context, name string, targetFile string) error