wavefrontHQ / wavefront-sdk-go

Wavefront Core Go SDK
Apache License 2.0
4 stars 21 forks source link

chore: fix ineffective assigns, enable ineffassign linter #163

Closed LukeWinikates closed 1 year ago

LukeWinikates commented 1 year ago

this PR enables the ineffassign linter, and fixes existing ineffective assigns (mostly ignored errors)

It also extracts a common http response parsing helper method to remove some duplication (which also previously included an ineffective assign)