Alex Efros
Alex Efros
Same issue (modules mode): ``` $ docker run -i -t --rm golang:1.12.6-stretch root@244bc0b2c35d:/go# cd / root@244bc0b2c35d:/# git clone https://github.com/smartystreets/goconvey Cloning into 'goconvey'... remote: Enumerating objects: 7044, done. remote: Total 7044...
I'd like to update my PRs and related tests but blocked by this issue. :disappointed:
> Should it be a per-rule filter? Should it be a per rule file constraint? I believe it should be per-rule filter, because I suppose most rules are general and...
> Do you mean a filter that checks the package path of the file that is being processes? Yes.
I'm afraid it's a bit too late - I've already solved this issue another way with https://godoc.org/github.com/powerman/check. Feel free to close this issue if you like to.
To work around this issue add any other tag after `endkeys` - it won't do anything except make `dive` works. E.g.: ```go type A struct { M map[string]*B `mod:"dive,keys,trim,endkeys,default"` }...
``` $ .gem/ruby/2.0.0/bin/travis /home/powerman/.gem/ruby/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:263:in `attach': (RuntimeError) from /home/powerman/.gem/ruby/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:263:in `attach_function' from /home/powerman/.gem/ruby/2.0.0/gems/ethon-0.8.0/lib/ethon/libc.rb:16:in `' from /home/powerman/.gem/ruby/2.0.0/gems/ethon-0.8.0/lib/ethon/libc.rb:6:in `' from /home/powerman/.gem/ruby/2.0.0/gems/ethon-0.8.0/lib/ethon/libc.rb:1:in `' from /usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/powerman/.gem/ruby/2.0.0/gems/ethon-0.8.0/lib/ethon.rb:10:in `' from /usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'...
@nnutter Thanks, patch works for me!
You can add your middlewares by wrapping jsonrpc2.HTTPHandler, like this: ```go http.Handle("/rpc", yourMiddleware1(yourMiddleware2(jsonrpc2.HTTPHandler(nil)))) ``` Can you please explain what else do you need?
I don't understand what you mean and how it may not work. You may explain in Russian if you like to.