Update wrapper comment

This commit is contained in:
Asim 2015-12-08 19:37:27 +00:00
parent 02985c35d5
commit c00931a0b1

View File

@ -17,7 +17,7 @@ Example usage:
client.Client client.Client
} }
func (l *LogWrapper) Call(ctx context.Context, req Request, rsp interface{}) error { func (l *LogWrapper) Call(ctx context.Context, req client.Request, rsp interface{}, opts ...client.CallOption) error {
log.Println("Making request to service " + req.Service() + " method " + req.Method()) log.Println("Making request to service " + req.Service() + " method " + req.Method())
return w.Client.Call(ctx, req, rsp) return w.Client.Call(ctx, req, rsp)
} }