nokia / restful

A powerful RESTful framework for Go.
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

Merge trace #50

Closed Som-Som-CC closed 1 year ago

Som-Som-CC commented 1 year ago

Open Telemetry tracing made optional, can be switched on using SetOTel call. If not enabled, then RESTful's old trace propagation is active. That may use somewhat less resources.

Client.Do() does not need context as first argument, as that is part of the request object, anyway. That made Do compliant with standard http package.