-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(obj-prefix): enable prefixes on object keys (#5)
* feat: enable to attach a prefix to the object key * fix(obj-prefix): move regex compiling out of WithObjectPrefix function * docs(obj-prefix): update WithObjectPrefix comment * docs(obj-prefix): more invalid prefixes based in the characters to avoid * feat(obj-prefix): abstract object key name to a func and add unit tests * test(obj-prefix): modify TestWithObjectPrefix to use table-driven tests * test(obj-prefix): use test.expectedErr in TestWithObjectPrefix * style(obj-prefix): change an assertion to first pass the expected value * refactor(obj-prefix): private method of client to generate the s3Key
- Loading branch information
1 parent
89491b8
commit c03a75d
Showing
2 changed files
with
90 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters