Go package for interfacing with an OS hosts file
NOTE Release v0.1.5 was deleted due to panics which this release fixed
Full Changelog: https://github.com/goodhosts/hostsfile/compare/v0.1.4...v0.1.6
Full Changelog: https://github.com/goodhosts/hostsfile/compare/v0.1.3...v0.1.4
Full Changelog: https://github.com/goodhosts/hostsfile/compare/v0.1.2...v0.1.3
Full Changelog: https://github.com/goodhosts/hostsfile/compare/v0.1.1...v0.1.2
first major revision of hostsfile switches from slice lookup to hashmap lookup for ips/hosts to improve performance on large hosts files
Close fd after checking it is writable