package storage import ( "context" "time" ) type ObjectCleanup interface { ListPage(ctx context.Context, token *string, prefix string) ([]ObjectInfo, *string, error) Delete(ctx context.Context, key string) error } type ObjectInfo struct { Key string LastModified time.Time }