jackpal / gateway

A golang library for discovering the address of a LAN gateway.
BSD 3-Clause "New" or "Revised" License
226 stars 69 forks source link

Create new importable function with build tags for each OS. #23

Closed natethinks closed 4 years ago

natethinks commented 4 years ago

The package can now be imported and gateway.Get() run. Build tags ensure the correct function usage for all compile targets.