launchdarkly / go-server-sdk

LaunchDarkly Server-side SDK for Go
Other
41 stars 17 forks source link

refactor: remove unused baseURI variables related to ServiceEndpoints #109

Closed cwaldren-ld closed 3 months ago

cwaldren-ld commented 4 months ago

While working on https://github.com/launchdarkly/go-server-sdk/issues/103, I noticed that some of the code related to ServiceEndpoints seems to be using a baseURI variable that isn't actually set anywhere.

I've removed those internal baseURI variables in the streaming/polling/event builders, which allowed me to remove an unused overrideValue parameter from some of the ServiceEndpoint utility functions.