Add support for file uploading #16
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "dsprenkels/upload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After this PR is merged, I think we should look at how we could refactor the code. Most relevant: I think we should consider not putting all the handlers in the same file.
WIP: Add support for file uploadingto Add support for file uploading@mrngm This PR should be done. You can take a look, if you like.
@ -26,3 +28,1 @@
typeUndef pasteType = 0
typePaste = 1
typeRedirect = 2
pasteTypeUndef pasteType = 0
See below comment
@ -32,3 +35,1 @@
stateUndef pasteState = 0
statePresent = 1
stateDeleted = 2
pasteStateUndef pasteState = 0
The type of the other states is not
pasteState
, see https://play.golang.org/p/lVjTWBgRQU-With the changes I just pushed, this LGTM.