Results 30 comments of Alex Edwards

Hey @carlmjohnson! Thanks for the positive feedback and ideas :+1: The suggestion of `.Use(mws...)` makes sense, I'll make that change. The reason for compiling the regexp patterns with each request...

@peterbourgon The reason for `Mux.routes` being a `*[]route` rather than `[]route` is to make the 'middleware grouping' feature work correctly. When `Mux.Group()` is called it creates a shallow copy of...

@peterbourgon Thanks for these comments, I appreciate it. I've updated the documentation with a warning that it's not safe to add more middleware and routes once the mux is in...

@carlmjohnson I've updated the code so that `Use()` is now variadic, and regexp patterns are compiled once upfront rather than on every request. Thanks again for the suggestions :+1:

The problem with monitoring both `modify` and `close_wait` events is that it seems some text editors trigger *both* events when a file is saved. So far I've tried, nano, gedit...

Hi, Can you provide more information? What's your directory structure? What command are you using to run it? Also, what version of Go are you using and do you have...

I've tried the code you posted, using Ubuntu 18.10 and Go 1.12, both in a directory under `GOPATH` and also using the new module style. I haven't been able to...

Hi, Thanks for your work on this and sending the PR. I'm not sure that this approach is the right way to solve issue #97. The three things that I'm...

N.b. The `-er` convention only applies to interfaces with one method: https://golang.org/doc/effective_go.html#interface-names

Hi, Can you explain/give an example of what you're currently doing and why it is 'unclean'? Is it because you don't want to wrap the handler with `LoadAndSave()` for the...