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.
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.
electricdusk
marked the pull request as ready for review 2019-11-22 18:42:03 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
@mrngm This PR should be done. You can take a look, if you like.
@@ -26,3 +28,1 @@typeUndef pasteType = 0typePaste = 1typeRedirect = 2pasteTypeUndef pasteType = 0See below comment
@@ -32,3 +35,1 @@stateUndef pasteState = 0statePresent = 1stateDeleted = 2pasteStateUndef pasteState = 0The type of the other states is not
pasteState, see https://play.golang.org/p/lVjTWBgRQU-With the changes I just pushed, this LGTM.