DataDog / datadog-process-agent

Datadog Process Agent
https://datadoghq.com
20 stars 9 forks source link

Reduce string casts for IP addresses by using Address struct everywhere #315

Closed sunhay closed 5 years ago

sunhay commented 5 years ago

Pretty self explanatory. I moved address.go to util/ so that there were no circular dependencies.

I'll port this to datadog-agent next, but added here first as I wanted to get it out into staging/prod.

First commit is the core of the changes, the rest are changes to packages + tests.