Skip to content

Implemented delete URL endpoint#32

Open
am831 wants to merge 5 commits intokamaln7:masterfrom
CodeDay-Init:delete
Open

Implemented delete URL endpoint#32
am831 wants to merge 5 commits intokamaln7:masterfrom
CodeDay-Init:delete

Conversation

@am831
Copy link
Copy Markdown

@am831 am831 commented Dec 3, 2022

Description

Implemented the option to delete a URL endpoint for all storage drivers. The DELETE http verb can now be passed with the curl command. Another change was made as well: for the file storage driver, a directory called 'urls' (default path) is created automatically if it does not already exist and no other path is specified.

Issue ticket link

#14

How has this been tested?

Tested using memory and file storage drivers. Sample run:
memory

Copy link
Copy Markdown

@zaquestion zaquestion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, and solid cleanup on the file names :)

Copy link
Copy Markdown
Owner

@kamaln7 kamaln7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thank you for adding this, @am831 😃🎉

Comment thread storage/file/file.go Outdated
Co-authored-by: Kamal Nasser <hello@kamal.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants