gowrap
gowrap copied to clipboard
Be feat ignore method
grpc server stub has mustEmbedUnimplementedScannerServiceServer method, gowrap will failed unexported method, ignore it.
any news?
@hexdigest if gowrap no support unexported methods, why not just skip it by default without flags?
In my opinion flag to skip make sense in case gowrap generate unexported methods too
@hexdigest if gowrap no support unexported methods, why not just skip it by default without flags?
In my opinion flag to skip make sense in case gowrap generate unexported methods too
It's not that gowrap does not support unexported methods its about where the generated wrapper is placed. Because there's clearly a use case for generating wrapper with unexported methods if the wrapper is placed within the same package where the interface with unexported method is defined and being called and/or type asserted.
Also conceptually these are two different interfaces and the user has to have a clear understanding on what's going on so the unexported method can't just be ignored, there should be an explicit flag for that.